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:
Dan Book
Date:
August 2, 2021 15:27
Subject:
Re: "use v5.36.0" should imply UTF-8 encoded source
Message ID:
CABMkAVWNXtkxEcx8Pmg9eZB_u88iW=RuPiZN4Dmq7u3BNO-p+g@mail.gmail.com
On Mon, Aug 2, 2021 at 11:05 AM H.Merijn Brand <perl5@tux.freedom.nl> wrote:

> On Fri, 30 Jul 2021 10:45:53 -0400, "Ricardo Signes"
> <perl.p5p@rjbs.manxome.org> wrote:
>
> > Porters,
> >
> > I propose that "use v5.36.0" should imply that the source code is,
> > subsequently, UTF-8 encoded.
>
> +1
>
> But the docs and release notes should very clearly state that this is
> about the source code itself, as I see many discussions rambling about
> the data handling being changed, which is not the case.
>

The data in a literal non-ASCII string under "use utf8" is different from
the data in an identically-written string without "use utf8"; thus it is
factual that the data handling will change for these strings. That it's
changing because the source code itself was decoded doesn't change the
practical implications.

-Dan

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