perl-unicode

Re: Unicode characters

2009-05-25 05:04:54
Andreas J. Koenig skribis 2009-05-25  8:30 (+0200):
On Sun, 24 May 2009 10:09:25 +0200, Juerd Waalboer 
<juerd(_at_)convolution(_dot_)nl> said:
  > Although it's safe on output, it's better to get used to using
  > :encoding(utf8) instead of :utf8. Using :utf8 on input can cause
  > stability and security issues.
That's new to me. Do you have a link that backs this up?

http://www.perlmonks.org/?node_id=644786
http://www.perlfoundation.org/perl5/index.cgi?the_utf8_perlio_layer
http://perldoc.perl.org/perlunicode.html#Security-Implications-of-Unicode
 (perlunicode doesn't refer to :utf8 but does explain how malformed utf8
 can cause trouble.)


Perl change #32461 updated documentation to reflect the preference for
:encoding
http://perl5.git.perl.org/perl.git/commit/740d4bb23b722729f87a23733be98429529fd900
-- 
Met vriendelijke groet,  Kind regards,  Korajn salutojn,

  Juerd Waalboer:  Perl hacker  <#####(_at_)juerd(_dot_)nl>  
<http://juerd.nl/sig>
  Convolution:     ICT solutions and consultancy 
<sales(_at_)convolution(_dot_)nl>
1;

<Prev in Thread] Current Thread [Next in Thread>