When I use Chinese characters in 【UTF-8】 LUA scripts, it will report an error.
---------------------------
lua.log:
Fatal Lua Error: Error parsing gdi01.lua. Reason: [string "gdi01.lua"]:114: 'end' expected 
(to close 'if' at line 112) near '<eof>'
---------------------------
When I tried 【ANSI】 LUA scripts: the Chinese string are displayed as 【????】
---------------------------
I've changed all the fonts to Chinese.ttf, but it's still the same.
On the other hand, *.yaml files with Chinese works very well.
The Game can display Chinese normally.
			
			
									
									
						How to use Chinese characters in LUA scripts
the Chinese string are displayed as ????
- 
				mofaruantang
 - Posts: 1
 - Joined: Mon Apr 15, 2019 7:42 pm