Front page | perl.perl5.porters |
Postings from January 2020
Re: “strict” strings?
Thread Previous
|
Thread Next
From:
Leon Timmermans
Date:
January 6, 2020 22:53
Subject:
Re: “strict” strings?
Message ID:
CAHhgV8h4QnZ0x8z2DZiDDwh0-2apBOp4yJy0pEhNOTciEXDPPA@mail.gmail.com
On Mon, Jan 6, 2020 at 5:06 PM Felipe Gasper <felipe@felipegasper.com> wrote:
> And wonât code that follows `perlunitut`âs prescribed workflow already fit that perfectly well?
>
> undecode()d == binary == !SVfUTF8
This should generally be true, but it is actually legal for it to have
the flag set (as long as it doesn't contain codepoints > 0xFF)
> decode()d == character == SVfUTF8
A decoded string may or may not have the SVfUTF8 flag set. This is not
something you should assume.
Leon
Thread Previous
|
Thread Next