lua-users home
lua-l archive

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


After investigating even more, I found that
you can have isalpha() and isalnum() work correctly,
on my linux system at least, if you put a 

setlocale(LC_ALL,getenv("LANG"));

at startup in the program that embeds LUA. 
Then, you set LANG in the environment to the
right locale. Of course, this may fail on 
setlocale()-deprived systems, like win32.

-- 
"No one knows true heroes, for they speak not of their greatness." -- 
Daniel Remar.
Björn De Meyer 
bjorn.demeyer@pandora.be