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

Re: RFC: deprecate implicit-encoding "Wide character in print"behaviour

Thread Previous | Thread Next
From:
Zefram
Date:
July 22, 2017 05:18
Subject:
Re: RFC: deprecate implicit-encoding "Wide character in print"behaviour
Message ID:
20170722051832.GH9383@fysh.org
Father Chrysostomos wrote:
>I am opposed.  I write one-liners *all the time* and frequently get the
>Wide Character warnings,

For a one-liner where you want UTF-8 output encoding, you'll be
wanting the -CO option.  This actually does it correctly, without the
data dependence.  Saving you four characters of typing doesn't seem
sufficient reason to keep the broken semantics.  It's a bit... spacebar
heating <https://xkcd.com/1172/>.

>For real programs, you get an annoying warning,

But you still get the broken behaviour.

-zefram

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