[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Perl & unicode weirdness.
Hey guys, I have a question relating to perl's unicode support.
I have a perl script that does a lot of processing of filenames that
have unicode characters in them, and it's behaved really wonky. I've
relied on a function called 'decode_utf8' from a package called "Encode"
to help sort things out, basically this function would make perl print
the strings correctly instead of replacing all non-ASCII characters with
a '#'.
Suddenly my script broke and removing all traces of 'decode_utf8' has
fixed it. Now the script just magically works, handles unicode properly,
with no issues at all.
What happened? Was there a bugfix release of perl that got installed on
my system without my noticing? Has anybody else noticed wonky perl
unicode bugs?
$ perl --version
This is perl, v5.8.1 built for i386-linux-thread-multi
[snip copyright notice]
Thanks.
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/