Y
Hacker News
new
|
ask
|
show
|
jobs
by
testplzignore
17 days ago
I wonder if there is a similar bug for U+0130 which (I think) expands to two characters when lowercased.
3 comments
tptacek
17 days ago
Maybe somewhere! But that character isn't in Windows-1252 at all, so it can't trip this string counting bug.
link
david_allison
17 days ago
I've encountered bugs with U+FB03 (Latin Small Ligature FFI) which expands to three characters when uppercased.
link
throw-the-towel
17 days ago
Wait, why would the Turkish dotted uppercase I expand to two characters?
link
yorwba
17 days ago
Because, unless you use a Turkish locale for the case-conversion, it turns into a lowercase i plus a combining dot above.
link