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

Re: source encoding

Thread Previous | Thread Next
From:
Zefram
Date:
October 25, 2017 20:06
Subject:
Re: source encoding
Message ID:
20171025200558.GX6716@fysh.org
John Imrie wrote:
>There is another edge case that needs to be discussed, what happens to the
>DATA file handle. Under these conditions it should, I think, have the
>:encoding(utf8) layer added to it by default.

I'm dubious about what it would take to deprecate reliance on the
current default before changing it.  I also wonder about actual binary
data sections.  I think we'd have to leave the behaviour unchanged:
the DATA handle is handed off to the user with no encoding layer.

-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