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
Felipe Gasper
August 2, 2021 15:46
Re: "use v5.36.0" should imply UTF-8 encoded source
Message ID:

> On Aug 2, 2021, at 11:25 AM, Dan Book <> wrote:
> STDOUT and STDERR expect bytes unless one does "use open ':std', IO => ':encoding(UTF-8)';" which changes the assumption of those interfaces so isn't great. DBI drivers, Mojolicious interfaces, etc expect characters.

Of note: DBI drivers, by default, seem more predominantly to expect *bytes*, not characters. At least, SQLite, MySQL, and PostgreSQL do.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About