We don't bite newbies here... much | |
PerlMonks |
Re^3: Seeking Perl docs about how UTF8 flag propagatesby ikegami (Patriarch) |
on May 17, 2023 at 16:37 UTC ( [id://11152260]=note: print w/replies, xml ) | Need Help?? |
It is. Code that behaves differently based on the internal storage format is said to suffer from The Unicode Bug.
True. Notably, the operators that accept file names. And of course, some XS modules. utf8::upgrade and utf8::downgrade can be used to work around these bugs.
lc, uc and the regex engine were fixed in 5.14, released in 2011 (12 years ago). To get the fix, you need to use use v5.14;, or use feature qw( unicode_strings ); more specifically. (The feature actually appeared in 5.12, but it didn't fix as many things in 5.12 as in 5.14, so I pretend it was added in 5.14.)
In Section
Seekers of Perl Wisdom
|
|