lua –> unexpected symbol near ‘?

Configure the development environment of Xunlei open interface, and prepare to test Lua script and Xunlei blot interface

Bring Lua source file is no problem, but how to write their own Lua script running problems, online

After searching for some time, I finally found a solution in a foreign forum

It’s about character encoding. The character encoding of Notepad + + I used is UTF-8, which should be changed to UTF-8

UTF-8 without BOM coding format, in order to run correctly, this method is only for

Notepad + +, I can’t guarantee other text editors.:)

Similar Posts: