[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc2) locale
- From: Edgar Toernig <froese@...>
- Date: Wed, 22 Jun 2011 22:34:22 +0200
Roberto Ierusalimschy wrote:
> > b) Create the ctype table on the fly when building Lua.
> > May become difficult when cross-compiling (HOST_CC needed
> > which uses the same encoding as the TARGET_CC).
> Another option is to create it on the fly when opening the Lua state.
Yes. But please, if you go that route, pre-initialize the table
for ASCII and wrap the initialization with something like
"if ('A' != 65)" or "#ifdef USE_NONASCII_CHARSET" else most of the
Lua users would suffer only because of the EBCDIC guys.