lua-users home
lua-l archive

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


These kinds of problems should be solved at a different level, not hacked into Lua. The beautiful thing about Lua is that it's really clean ANSI C code and is not bloated with #ifedef-ed platform dependent workaround code.


Andras

Chris Marrin wrote:
Yes, my recollection is that this is a total morass. So it would be nice if Lua could "simplify" it by doing the right thing in its code. Perhaps os.setlocale("UTF8") could do some special processing to setup all the right values to get the same expected (or at least well-defined) results on all platforms.

Or maybe a new os.setencoding("UTF8") call could be created?