lua-users home
lua-l archive

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


Hello Alex,

Thursday, July 23, 2009, 5:20:27 PM, you wrote:

>      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
> better.

ucs-4 better because it's easier to use. utf-16 doesn't buy us
anything. utf-8 is really great since it provides easy migration path
from ascii


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin@gmail.com