|
|
||
|
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 :(
I tried a bit more: fr_fr doesn't work for me, but fr is OK.
-- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- --