[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: accented characters in field names (once more)
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 1 Dec 2006 18:34:54 -0200
> > 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
os.setlocale("","ctype")
% lua51 -lsetlocale x.lua
lua51: x.lua:1: unexpected symbol near 'á'
% env LANG=pt_BR lua51 -lsetlocale x.lua
(no error message)
--lhf