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')"

-- Roberto