develooper Front page | perl.perl5.porters | Postings from August 2021

Re: "use v5.36.0" should imply UTF-8 encoded source

Thread Previous | Thread Next
From:
Darren Duncan
Date:
August 2, 2021 08:43
Subject:
Re: "use v5.36.0" should imply UTF-8 encoded source
Message ID:
3e5aeac8-22d6-5135-10e0-e7cd7ed74a67@darrenduncan.net
On 2021-08-02 1:12 a.m., Leon Timmermans wrote:
> On Mon, Aug 2, 2021 at 2:35 AM Felipe Gasper wrote:
> 
>     Code is indeed text, but this is not reasonable:
> 
>      > perl -Mutf8 -e'print "é"'
>     �
> <snip>
> 
> I don't think the proposal said anything about -e or -E

I think it implicitly did.  What if someone puts a "use v5.36;" inside the -e or 
-E argument string?  -- Darren Duncan

Thread Previous | Thread Next


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