http://www.perlmonks.org?node_id=938689


in reply to Re: Arguments for upgrading from Perl 5.8
in thread Arguements for upgrading from Perl 5.8

Unicode support is very important to us since we process international text.

I thought that Unicode was added in Perl 5.8. I'm curious as to how much better the Unicode support is in Perl 5.12 vs. Perl 5.10 vs. Perl 5.8.

Thanks

  • Comment on Re^2: Arguments for upgrading from Perl 5.8

Replies are listed 'Best First'.
Re^3: Arguments for upgrading from Perl 5.8
by chromatic (Archbishop) on Nov 17, 2011 at 22:20 UTC

    Only as of 5.14 are most of the builtin operations fully aware of Unicode; too many of them default to assuming the semantics of whatever the local character set is. unicode mentions this as "The Unicode Bug". Perl 5.12 fixed some of that, but only as of Perl 5.14 can you use use feature 'unicode_strings'; to get Perl to do the right thing.

    I haven't encountered huge problems in my work, but most of what I do uses nothing more exotic than Latin-1 and UTF-8, so I've been fortunate. Then again, everything I care about runs on Perl 5.14.1 (and soon Perl 5.14.2).


    Improve your skills with Modern Perl: the free book.