develooper Front page | perl.perl5.porters | Postings from March 2021

Re: SvPVutf8 validity

Thread Previous | Thread Next
From:
Tony Cook
Date:
March 22, 2021 03:21
Subject:
Re: SvPVutf8 validity
Message ID:
20210322032033.GC13843@venus.tony.develop-help.com
On Sun, Mar 21, 2021 at 11:02:25PM -0400, Felipe Gasper wrote:
> Hello,
> 
> Does SvPVutf8 have the same UTF-8 validity problems as Encode::encode_utf8()?

It returns the internal UTF-8 encoding, which can include surrogates,
etc.

If that's not what concerns you, please be more specific.

Tony

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