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

Re: Pre-RFC: Rename SVf_UTF8 et al.

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
August 20, 2021 08:48
Subject:
Re: Pre-RFC: Rename SVf_UTF8 et al.
Message ID:
CAHhgV8i-zjcXyCXeJs1JRjZU9rdFE11v0Pa1Y3oGai9tVS8Z3A@mail.gmail.com
>
> I would agree except that people not working on the internals also have to
> use these functions (for XS code), and thus misuse them because they think
> they're related to the logical contents of the string.
>

Any code dealing with strings on a C level will need to know if it is
encoding in UTF8 or something different. Changing the internal name to
upgraded would make sense if we could change the internal implementation
(e.g. to UTF16) without *everything* exploding.

Leon

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