4 ms·
> And I don't think 'SS'<->'ß' is similar to the Turkish 'I with/without dot' problem, because the default Unicode mapping for 'ß' is correct in all languages,
by alexey-salmin 1y ago
> And I don't think 'SS'<->'ß' is similar to the Turkish 'I with/without dot' problem, because the default Unicode mapping for 'ß' is correct in all languages, while the Turkish (and also Azerbaijani) problem is correct or broken depending on language setting.
I don't know if this counts as "correct" but it's still very confusing.
>>> "ß".upper()
'SS'
>>> "ß".upper().lower()
'ss'
>>> "ẞ".lower()
'ß'
>>> "ẞ".lower().upper()
'SS'
>>> "ẞ".lower().upper().lower()
'ss'
- beeforpork 1y agoYes, it's definitely weird. But it is independent of locale, so any programmer has a change to notice this regardless of language setting, instead of their app failing only once it is used by someone from Turkey or Azerbaijan.
- froh 1y ago"tja". now Unicode philosophers have to ponder a breaking change vs introducing a new, duplicate ß code point LATIN SMALL LETTER SHARP S WITH CAPITAL SHARP S which as upper case has encoded the proper ẞ two red buttons meme here...