Think about Loose Coupling | |
PerlMonks |
Re^3: CGI::Application - Which is the proper way of handling and outputting utf8by ikegami (Patriarch) |
on Mar 11, 2010 at 02:32 UTC ( [id://827928]=note: print w/replies, xml ) | Need Help?? |
Almost. The UTF8=1 format is still unnecessarily used if the string is "É", for example. You'd have to include the following after decoding if you wanted to always use the UTF8=0 format when possible.
It's safer not to do that, though, as it affects \w*, uc()*, buggy XS, etc. * — \w and uc() are unaffected when using use 5.012; or use feature qw( unicode_strings );.
In Section
Seekers of Perl Wisdom
|
|