lua-users home
lua-l archive

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


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