[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: strange behaviour with accented chars on debian unstable
- From: Walter Cruz <walter.php@...>
- Date: Fri, 4 Nov 2005 09:56:23 -0300
Hi all. I'm using lua package from Debian, (I'm using unstable)
But there's something strange. That little script:
_______
x = "Walter é"
print(x)
t={}
for word in string.gfind(x, "%w+") do
table.insert(t,word)
end
table.foreach(t,print)
___________
returns :
_____
Walter é
1 Walter
_______
The accented char is losted. I have downloaded lua 5.1 beta and compiled it, but the behaviour is the same.
I don't know what is causing that :(
[]'
- Walter