lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Jan 11, 2015 at 7:50 PM, tjhack <tjhack@foxmail.com> wrote:

> Now the problem is, can I solve it? How can I let the script compile
> success? My source script can not encoding into utf-8, if can, it is esay.‍

If working with utf-8 would cure your problem, check
<https://github.com/starwing/luautf8>.

We've been working with that library embedded in NoteCase Pro along
with Lua. 5.2.x for many months now. I haven't hit any problems so far
other than utf8.title returning all capital characters, the same
output as utf8.upper.

The library has been tested with Lua 5.2.3 and LuaJIT.

On the other hand, I haven't done any testing using CJK characters.
We have some CJK users, but I don't know if any of them have written
scripts.

Best regards,

Paul

-- 
[Notice not included in the above original message:  The U.S. National
Security Agency neither confirms nor denies that it intercepted this
message.]