News for hackers. Stuff that matters.
Re:A popular but wrong way to convert a string to uppercase ... by zahlman on Tuesday October 08, 2024 @02:51PM (#41780508)
>If text is coming from user - then change design until its not needed to 'convert'

In games, you can possibly get away with this. Most other people need to worry about things like string collation (locale-aware sorting) for user-supplied text.

Re:A popular but wrong way to convert a string to uppercase ... by makeitdouble on Tuesday October 08, 2024 @10:48PM (#41784004)
TBF, if you are caring about string collation, you're already at the entrance of the rabbit hole and probably should go down to the deep end anyway.

I'd assume SleepyMyroslav doesn't apply to devs willing to spend weeks at time to handle all the complexity in full.