Re:Hacking GitHub's Auth with Unicode's Turkish Dotless 'I'
by thristian on Monday December 16, 2019 @10:58PM
(#21810384)
For backwards compatibility reasons, the capitalization rules can't be changed for existing characters. So normalizing by naive case-folding now requires at least three steps:
(there's a standard for how to compare strings case-insensitively that doesn't involve repeated case-folding, but it's much more complex)
[ Parent
| on HN ]
Re:Hacking GitHub's Auth with Unicode's Turkish Dotless 'I'
by Pahr3yah on Tuesday December 17, 2019 @11:58AM
(#21815544)
Unicode has a dedicated case folding[0][1] (as opposed to upper/lower case mapping) algorithm to cover these cases.
[0] https://www.unicode.org/reports/tr21/tr21-3.html#Caseless%20... [1] http://userguide.icu-project.org/transforms/casemappings#TOC...
Re:Hacking GitHub's Auth with Unicode's Turkish Dotless 'I'
by jrochkind1 on Tuesday December 17, 2019 @09:19AM
(#21813634)
Wow, I did not know about this weird edge case, interesting, thanks!