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

Re: Pre-RFC: Rename SVf_UTF8 et al.

Thread Previous | Thread Next
Leon Timmermans
August 20, 2021 08:48
Re: Pre-RFC: Rename SVf_UTF8 et al.
Message ID:
> 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.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About