lua-users home
lua-l archive

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


>> In 5.0, lua.c tries to run the env. var. LUA_INIT when it starts. (I
>> think 5.0w0 already has this.) Then, you can put that code there:
>> 
>>   export LUA_INIT="os.setlocale(os.getenv'LANG' or 'C')"
>> 
>OK, that just might do the trick. Does something similar also 
>apply to luac, in case you want to compile those scripts
>with the "funny" identifiers? 

Sorry, no, luac does not support this. If there is demand, perhaps we can
add an option, say -L, for that.
--lhf