3 ms·
No, because the unicode committee screwed it up and rejected fixes for it. So, it lowercases correctly, but not uppercases.
by withinboredom 3y ago
No, because the unicode committee screwed it up and rejected fixes for it. So, it lowercases correctly, but not uppercases.
- Dylan16807 3y agoWhich character lowercases but not uppercases correctly? In which locales? My understanding is that I will either lowercase to i or to ı depending on locale. Just like i will uppercase to I or to İ depending on locale. In both cases, you have a problem if you want to support multiple locales. In both cases, if you set a fixed locale then it's fine.
- zarzavat 3y agoUppercase Eszett lowercases to lowercase eszett, which then uppercases to SS, which then lowercases to ss. It’s not incorrect but does show that you can get four different strings from one with just case operations.
- Dylan16807 3y agoYeah, I know that one. I wasn't trying to ask for any character that has a problem in one direction, I want to know what character they were talking about because it sounds like they're confused about how i, ı, İ, and I work.
- lifthrasiir 3y agoIt rather means that case operations are locale-specific. This is indeed unfortunate, as Unicode tried hard to split characters that look same or similar but have different behaviors like that, but inevitable because Turkish (among others) is otherwise using normal Latin characters. In the other words, Turkish speakers are unconsciously mixing Turkish `i` and normal Latin `i` in their texts and there is no way to separate them after the fact [1]. [1] See https://unicode.org/mail-arch/unicode-ml/Archives-Old/UML009/0619.html https://unicode.org/mail-arch/unicode-ml/Archives-Old/UML009... and https://unicode.org/mail-arch/unicode-ml/Archives-Old/UML009/0624.html https://unicode.org/mail-arch/unicode-ml/Archives-Old/UML009... (and especially note the transcoding issues)