[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re： Lua 5.1.4 with Traditional Chinese
- From: "tjhack" <tjhack@...>
- Date: Mon, 12 Jan 2015 17:29:02 +0800
2015-01-12 16:52 Dirk Laurie<firstname.lastname@example.org> wrote:
>But under Windows LUA_USE_READLINE is anyway not defined.
>We must look for something else.
>What happens under Windows if you run the program
>as a script file instead of interactively?
Notice that my script is encoding into cp950,zh_TW.BIG5. I tried this script on my windows with locale set to zh_TW and encoding into cp950:
The result is:
lua: test.lua:3: unfinished string near '"家族靈?'
Now I set my centos server locale to LANG="zh_TW.BIG5" and try this:
[tjhack@plsyserver ~]$ lua test.lua
lua: test.lua:3: unfinished string near '"家族靈'
The result is same, with
the result is the same is: