develooper Front page | perl.perl5.porters | Postings from January 2020

Re: ???strict??? strings?

Thread Previous | Thread Next
From:
Dan Book
Date:
January 7, 2020 03:28
Subject:
Re: ???strict??? strings?
Message ID:
CABMkAVWyypeMB8wTRSVpYZp77QJraSHZ48Bqb2suPup2wp22eg@mail.gmail.com
On Mon, Jan 6, 2020 at 10:15 PM Felipe Gasper <felipe@felipegasper.com>
wrote:

> But anyway, there’s no problem left to solve. Now that I see an example of
> `perlunitut`’s workflow not working as I thought (decode() doesn’t set UTF8
> if the string is plain ASCII), I see why this won’t work. As I wrote a bit
> ago, humble pie.


I'd like to try to fix any misconceptions presented in such docs, but
looking at perlunitut, the only mention of the UTF8 flag is the vague
description of the internal format you shouldn't concern yourself with. The
document appears entirely correct, though it is mostly talking about usage
of text and binary strings (something you have to know in any language),
and not the Perl implementation details we're discussing. Did you perhaps
mean a different document?

-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