Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Karl Williamson <public <at> khwilliamson.com>
Subject: Re: Unicode cheatsheet for Perl
Newsgroups: gmane.comp.lang.perl.perl5.porters
Date: Monday 20th February 2012 19:40:04 UTC (over 5 years ago)
On 02/20/2012 12:32 PM, Tom Christiansen wrote:
> Karl Williamson  wrote
>     on Mon, 20 Feb 2012 12:27:18 MST:
>
> Thanks for all that, Karl.
>
>>> =Declare std streams to be utf8
>
>> I hate to publicize this until :utf8 by default checks for
>> malformedness.  I put this as a blocker to 5.16, but I suspect
>> I will be overruled.
>
> Are you saying tha t
>
>      use warnings FATAL =>  "utf8";
>
> doesn't fix the ":utf8" ''bug''?

No, I'm not saying that, but I didn't see your cheat sheet mentioning 
the addition of the FATAL, which I think it should before every use of
:utf8

>
> I feel it a mistake to make people use the :encoding(UTF-8)
> style, amongst other reasons because then they lose all control
> over the three utf8 warning subcategories.  We cannot do anything
> about the Encode module, and they do not keep up with Perl.
>
> Perl should certainly handle utf8 properly in all cases.
>
> --tom
>
 
CD: 4ms