News for hackers. Stuff that matters.
Re:A popular but wrong way to convert a string to uppercase ... by davidcbc on Tuesday October 08, 2024 @07:47PM (#41783011)
It's not reasonable to assume that users in the US have names that only use 7-bit ASCII
Re:A popular but wrong way to convert a string to uppercase ... by bigstrat2003 on Tuesday October 08, 2024 @11:13PM (#41784154)
It actually is. That covers the vast, vast majority of people in the US.
Re:A popular but wrong way to convert a string to uppercase ... by saagarjha on Monday October 14, 2024 @04:50AM (#41835557)
That is not very reasonable, is it?
Re:A popular but wrong way to convert a string to uppercase ... by MajimasEyepatch on Tuesday October 15, 2024 @12:04PM (#41849991)
It is if all your customers are in the US.
Re:A popular but wrong way to convert a string to uppercase ... by account42 on Wednesday October 09, 2024 @10:51AM (#41788518)
It's reasonable to assume that all users can deal with having to encode their names in 7-bit ASCII. Otherwise you might as well demand that computer systems need to support arbitrary drawings in the name field at which point you might as well not have a name field at all because even most humans won't be able to deal with what you want to put in there.
Re:A popular but wrong way to convert a string to uppercase ... by davidcbc on Wednesday October 09, 2024 @06:58PM (#41793705)
Nice slippery slope you've got there