develooper Front page | perl.perl5.porters | Postings from February 2022

Re: RFC: Rename the “UTF8” flag

Thread Previous | Thread Next
Tony Cook
February 3, 2022 22:14
Re: RFC: Rename the “UTF8” flag
Message ID:
On Fri, Jan 28, 2022 at 10:26:31AM -0500, Felipe Gasper wrote:
> Perl’s “UTF8 flag” confuses Perl users, and even occasionally its
> maintainers. This RFC proposes to rename it in source code and
> documentation, retaining old names as aliases to avoid breaking callers
> of Perl’s C API (XS modules & embedders).

The UTF8 flag does what it says on the box - indicates the PV is
encoded using (something like) UTF-8.

If our documentation isn't clear about that at some point we should
fix that.

If the documentation is fine and users are ignoring that documentation
renaming the flag isn't going to help.


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