[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: accented characters in field names (once more)
- From: manel <lista@...>
- Date: Sun, 26 Nov 2006 17:01:57 +0100 (CET)
Hello
Thank you Luiz, Mike.
The key is the division of the problem in two calls.
This works very well (on Linux):
$ lua script.lua
---- script.lua follows ----
-- file with pure ASCII chars
os.setlocale(os.getenv("LC_CTYPE") or os.getenv("LC_ALL"), "ctype")
dofile "script1.lua"
------------------------------
---- script1.lua follows -----
í = 1
print(í)
------------------------------
Manel