perl-unicode

Re: 5.8.8 vs. 5.10: encoding.pm vs utf8.pm

2009-03-21 21:22:29
David Graff skribis 2009-03-21 19:59 (-0400):
 perl -Mencoding=utf8 -le 'printf "%x\n", ord(chr(193))'

Ugh, just don't use encoding.pm, please.

Perhaps the docs for encoding.pm should clarify whether it makes (no) 
sense to have "use encoding 'utf8';" in one's perl script?

It should clarify that using this module is a horrible idea and should
only ever be done to maintain some misguided sense of bug-by-bug
compatibility with olders perls.

This is on my todo list for the next round of Unicode documentation
updates, but given my persistent tuit shortage, don't count on me doing
it any time soon.
-- 
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>