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
Uh oh!
There was an error while loading. Please reload this page.
-
Currently,
text-transform: uppercaseturns 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: uppercaseshould check first ifU+1E9Eis 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