develooper Front page | perl.perl5.porters | Postings from September 2010

Re: [PATCH] Re: [perl #45549] warn() misunderstands UTF8-encoded scalar

Thread Previous
Rafael Garcia-Suarez
September 16, 2010 05:16
Re: [PATCH] Re: [perl #45549] warn() misunderstands UTF8-encoded scalar
Message ID:
On 9 August 2010 03:30, Father Chrysostomos <> wrote:
> On Aug 8, 2010, at 2:31 PM, Father Chrysostomos wrote:
>> The first patch changes warn.t to use, so I can use fresh_perl_like.
>> The second patch fixes warn to work with utf8 scalars and :utf8 handles. Since do_print already takes care of utf8, I’ve changed write_to_stderr to call it.
> That makes ‘warn chr 300’ produce a ‘Wide character in print’ warning on a byte-sized handle, which is a good thing, except that it should say ‘warn’. Patch attached.

Thanks, all 3 patches applied to bleadperl.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About