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:
Aaron Priven
Date:
August 4, 2021 22:59
Subject:
Re: "use v5.36.0" should imply UTF-8 encoded source
Message ID:
BEC32DC8-8904-4737-AC70-D4D30C9705D1@priven.com
On August 3, 2021 13:26, Felipe Gasper wrote:
> It sounds like you want STDIN/STDOUT/STDERR and @ARGV to be decoded by default, in addition to the source code. TBH that makes more sense to me than the present proposal since it would preserve parity of character encoding for simple programs, though I think it would still sow confusion since other filehandles will remain binary by default:

Are other filehandles binary by default? I thought they were text by default, with the “:crlf" layer applied on those operating systems where it is appropriate. Perhaps in 2021 “text by default” should include encoding.

-- 
-- 
Aaron Priven, aaron@priven.com, www.priven.com/aaron


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