At 11:59 -0300 29/9/11, Brian Fraser wrote:

On Thu, Sep 29, 2011 at 10:58 AM, John Delacour <johndelac...@gmail.com> wrote:

use encoding 'utf-8';

Nitpick: Please don't use this, as encoding is broken. use utf8; and use open qw< :std :encoding(UTF-8) >; should make do for a replacement.

Nitpick:  Why the upper-case charset name?

Interesting to hear that encoding is broken. I came across a problem the other day wich I couldn't work out at all. But if you include 'qw< :std :encoding(utf-8) >', is that not also using encoding?

Another thing I realized the other day is that a the problem that existed in Perl 5.10 and 5.12, even when I updated Encode for these versions, seemed to have been solved in 5.14.

JD

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to