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

Re: Pre-RFC: Rename SVf_UTF8 et al.

Thread Previous | Thread Next
Dave Mitchell
August 30, 2021 12:18
Re: Pre-RFC: Rename SVf_UTF8 et al.
Message ID:
(forgot to Cc this to p5p)

----- Forwarded message from Dave Mitchell <> -----

Date: Mon, 30 Aug 2021 13:17:04 +0100
From: Dave Mitchell <>
To: Felipe Gasper <>
Subject: Re: Pre-RFC: Rename SVf_UTF8 et al.
Message-ID: <YSzMQJIeURS/>

On Wed, Aug 18, 2021 at 01:18:34PM -0400, Felipe Gasper wrote:
> PROBLEM: The naming of Perl’s “UTF-8 flag” is a continual source of confusion regarding the flag’s significance.

The SVf_UTF8 flags has a clear and unambiguous meaning (apart from some
historical bugs): in what manner the codepoints of a string are stored as
a sequence of bytes in memory.

If people are confused by this, renaming it is only going to add to the
cognitive load and confusion.

(I'm assuming the old names are kept as aliases for backwards

The Enterprise successfully ferries an alien VIP from one place to another
without serious incident.
    -- Things That Never Happen in "Star Trek" #7

----- End forwarded message -----


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