News for hackers. Stuff that matters.
Re:A popular but wrong way to convert a string to uppercase ... by fluoridation on Tuesday October 08, 2024 @03:06PM (#41780662)
Cuneiform codepoints are 17 bits long. If you're using UTF-16 you'll need two code units to represent a character.
Re:A popular but wrong way to convert a string to uppercase ... by gpderetta on Wednesday October 09, 2024 @08:25AM (#41787122)
you also need two UTF16 code units for plain emojis.