News for hackers. Stuff that matters.
Re:A popular but wrong way to convert a string to uppercase ... by account42 on Wednesday October 09, 2024 @10:27AM (#41788293)
> Is the alternative that it should be made unusable, and more existing code broken?

It should be marked [[deprecated]], yes. There is no good reason to use std::tolower/toupper anywhere - they can neither do unicode properly nor are they anywhere close to efficient for ASCII. And their behavior depends on the process-global locale.

There are no comments on this comment yet.