lua-users home
lua-l archive

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

> > 	lua -lsetlocale myscript.lua
> It does not work for me. We have to break the program in two files (in
> Linux; in Windows I have not tried yet, but I wait more troubles |-)
> and one loads the other.

It works for me under Linux:

 % cat x.lua
 área = 1

 % cat setlocale.lua

 % lua51 -lsetlocale x.lua
 lua51: x.lua:1: unexpected symbol near 'á'

 % env LANG=pt_BR lua51 -lsetlocale x.lua
 (no error message)