lua-users home
lua-l archive

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


2009/10/27 uri cohen <uri.cohen@gmail.com>:
> Thanks for your patch, Jerome.
> I've used it and found it is a minimal and elegant support for UTF16 unicode
> strings. Although it provide the requirements I wrote in my post, I found it
> does not work for me because it does not support ability to run LUA code
> from UTF16 files or lines. So while you support unicode strings you can't
> really define unicode literals in an easy way.

If you encode your scripts as utf-8, you can have any unicode
character in literal strings. If you really need your scripts to be
utf-16 rather than utf-8, it's very easy to write a script loader that
does the conversion on the fly.