in reply to Lost in encodings
some hints:
- Please use Data::Dump and/or Devel::Peek to check $str before and after.
- I don't know in which context you are running your debugger, but it depends on the encoding of the console/editor how an utf8 character is displayed.
- Try decode('UTF-8', $str,Encode::FB_WARN); to see if the $str is really an UTF-8 (update)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In Section
Seekers of Perl Wisdom