in reply to
Hash not working correctly with spanish words
it works perfectly for me.
have you checked the encoding of the files?! you'll have problems matching characters like 'í' if, for example, your program is utf8 and your txt is iso 8859-1.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
women.pm
Comment on
Re: Hash not working correctly with spanish words
Replies are listed 'Best First'.
Re^2: Hash not working correctly with spanish words
by
qnguyen
(Acolyte)
on Sep 26, 2007 at 13:43 UTC
I saved my test2.txt to ANSI encoding and it resolved the problem. I was using UTF-8 prior to the change.
[reply]
In Section
Seekers of Perl Wisdom