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

Re: ???strict??? strings?

Thread Previous | Thread Next
From:
Felipe Gasper
Date:
January 7, 2020 03:15
Subject:
Re: ???strict??? strings?
Message ID:
01FC759A-697D-4A1C-AFC0-B7B466773C16@felipegasper.com

> On Jan 6, 2020, at 10:06 PM, Zefram <zefram@fysh.org> wrote:
> 
> Felipe Gasper wrote:
> 
>> Sereal appears to intend to solve that problem by using the UTF8 flag.
> 
> It appears not, from the format spec and the Perl modules.  It does
> not give any impression of making the type distinction that you have
> attributed to it.

I don’t see how you can read the same document as I and reach that conclusion unless you’ve ignored both the “String Types” section and the word “binary” in the table of tag values.

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.

-F
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