big-list-of-naughty-strings icon indicating copy to clipboard operation
big-list-of-naughty-strings copied to clipboard

Character that grows the string when lowercased.

Open buckett opened this issue 7 years ago • 1 comments

Unicode has special rules about lowercasing characters http://www.unicode.org/Public/UNIDATA/SpecialCasing.txt and this can result in a string growing. When doing the reverse the strings don't appear to shrink (Java/Python). You can see python 3 growing the strings when lowercasing:

>>> len("İ")
1
>>> len("İ".lower())
2

buckett avatar Feb 20 '17 09:02 buckett

Shout out to @davbo for starting this with #127

buckett avatar Feb 20 '17 10:02 buckett