develooper Front page | perl.perl5.porters | Postings from July 2016

[perl #128701] Unicode handling of warnings appears broken in 5.18.2and 5.24.0

From:
Aaron Sherman
Date:
July 22, 2016 17:36
Subject:
[perl #128701] Unicode handling of warnings appears broken in 5.18.2and 5.24.0
Message ID:
rt-4.0.18-25814-1469208985-1540.128701-75-0@perl.org
# New Ticket Created by  Aaron Sherman 
# Please include the string:  [perl #128701]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=128701 >


$ perl -C x.pl
Can't find string terminator "Â" anywhere before EOF at x.pl line 4.
$ cat x.pl
use v5.18.0;
use utf8;

say q« foo4 » ;
$perl -v
This is perl 5, version 18, subversion 2 (v5.18.2) built for
x86_64-linux-gnu-thread-multi

Expected:
Can't find string terminator "«" anywhere before EOF at x.pl line 4.

Or at least an error about the use of an invalid punctuation character as a
delimiter (perhaps "what do you think this is, Perl 6?!"). But definitely
not munged latin-1...

Also tried this under 5.24.0 and got the same output.

--
Aaron Sherman, M.:
P: 617-440-4332 Google Talk, Email and Google Plus: ajs@ajs.com
Toolsmith, developer, gamer and life-long student.




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About