lua-users home
lua-l archive

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



On Feb 16, 2005, at 18:03, Adam D. Moss wrote:

See 'man setlocale'.

       LC_CTYPE
              for the  character  classification  and  conversion
              routines.

Ooops... forgot about the 'man' :P

So... to have Lua consistently behave in en_US UTF-8, would the following setting "just work"?!?

os.setlocale( "en_US" )
os.setlocale( "UTF-8", "collate" )
os.setlocale( "UTF-8", "ctype" )

Thanks!

Cheers

--
PA, Onnay Equitursay
http://alt.textdrive.com/