C++ Logo

std-proposals

Advanced search

Re: [std-proposals] constexpr tolower, toupper, isalpha

From: Oliver Hunt <oliver_at_[hidden]>
Date: Thu, 10 Jul 2025 15:18:17 -0700
> On Jul 10, 2025, at 2:54 PM, JJ Marr <jjmarr_at_[hidden]> wrote:
>
> Unicode normalization stability means an already-assigned codepoint won't change its normalized form.
>

Sorry, what I was saying is that my previous comments were using “normalization” incorrectly given we were talking about unicode which has specific definitions for normalizing.

At an application level what I’m calling “normalizing” has nothing to do with unicode - it’s the changes/unification of what a user has typed with what the text actually is - I’m sure other people may used different terms for it as there’s no standard mechanism for it because it’s a quality of life for users rather than a specific set of operations over a character encoding.

Essentially the important thing is that in my prior comments my use of “normalization” was not correct given we were discussing unicode and hence was likely confusing the discussion.

I’m not sure that unicode normalization is in any way more or less challenging to deal with in the context of constexpr evaluation than any of the other things that happen in the world of unicode :D

—Oliver

Received on 2025-07-10 22:18:30