I want text-transform: uppercase
to be "capital sharp s" aware
#113
aarongustafson
started this conversation in
Wants
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently,
text-transform: uppercase
turns the german ß into double S (SS), which was the official rule and therefore the correct behaviour for most of the time. However, since 2017 the capital sharp s is part of the official German orthography, and a lot of type designers are including the new glyph in their typefaces (UnicodeU+1E9E
).Unfortunately there is no real workaround, besides hardcoding the capital sharp s into your markup, which is not always a practical solution.
I believe,
text-transform: uppercase
should check first ifU+1E9E
is available in the font and in this case make use of it. If there is no capital sharp s, the ß would be transformed into double S, according to the old rule.https://webwewant.fyi/wants/75/
Beta Was this translation helpful? Give feedback.
All reactions