lua-users home
lua-l archive

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


On 7/23/09, Miles Bader <> wrote:
> One doesn't need wide strings to use unicode, utf-8 works fine.
>  Microsoft made a bad call, and they're stuck with it, but Lua need not
>  do so.

     UTF-8 is best for serialisation (writing text to disk, to socket
etc.). For in-memory strings it makes a lot of algorithms harder.
UCS-2 was a bad idea, but UTF-16 works perfectly well. UTF-32 is even