in reply to Re^2: CGI::Application - Which is the proper way of handling and outputting utf8
in thread CGI::Application - Which is the proper way of handling and outputting utf8
so the faster ASCII semantics can be used where possible.
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.
utf8::downgrade($p, 1);
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 );.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: CGI::Application - Which is the proper way of handling and outputting utf8
by Anonymous Monk on Dec 14, 2010 at 10:01 UTC | |
by davebaker (Pilgrim) on Oct 29, 2020 at 20:52 UTC | |
by Anonymous Monk on Oct 30, 2020 at 00:12 UTC | |
by davebaker (Pilgrim) on Oct 30, 2020 at 15:26 UTC | |
by ikegami (Patriarch) on Dec 15, 2010 at 23:52 UTC |