3 ms·
The origin of the German ß is very intuitive once you know that S can look like ſ and Z can look like Ʒ.
by TazeTSchnitzel 4y ago
The origin of the German ß is very intuitive once you know that S can look like ſ and Z can look like Ʒ.
- martin_a 4y agoAll hail the beloved Esszett-Schnitten! For more on the letter though: https://en.wikipedia.org/wiki/%C3%9F https://en.wikipedia.org/wiki/%C3%9F
- quickthrower2 4y agoGuess what: x.toUpperCase().length === x.length is false when x = 'ß' I guess another falsehood programmers believe about strings is that length is not changed by toUpperCase()!
- kevin_thibedeau 4y agoThere is a capitol ẞ now so it will depend on normalization rules.
- tragomaskhalos 4y agoRust's char::to_uppercase returns an iterator to cover these sorts of shenanigans : https://doc.rust-lang.org/stable/std/primitive.char.html#method.to_uppercase https://doc.rust-lang.org/stable/std/primitive.char.html#met...
- glandium 4y agoSo.... it's a ligature!