in reply to Re: UTF-8 trouble moving from perl 5.8.5 to 5.10.1
in thread UTF-8 trouble moving from perl 5.8.5 to 5.10.1
Thank you all for your input
After a little more debugging, I now have found the silver bullet and it seems that all that was missing was a single line.
We use Encode::decode everywhere we should, we're fine in that department. But we never told Perl how we would like our output.
All that was missing was:
binmode STDOUT, ':utf8';
I guess the question was not why Unicode was broken on the new system, but rather why it worked on the old one.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: UTF-8 trouble moving from perl 5.8.5 to 5.10.1
by Anonymous Monk on Sep 11, 2011 at 16:21 UTC |