[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Will Lua kernel use Unicode in the future?
- From: Andras Balogh <andras.balogh@...>
- Date: Fri, 30 Dec 2005 10:12:02 -0700
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
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?