[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Testing LUA: verify the correctness of a UTF16 LUA port
- From: Jerome Vuarand <jerome.vuarand@...>
- Date: Tue, 27 Oct 2009 18:02:19 +0100
2009/10/27 uri cohen <email@example.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.