When naming new tags containing Swedish letters, the corresponding letters in slug names are automatically replaced by hyphen-minus (U+002D). For example, Hårdvara
becomes h-rdvara
.
- Å is Latin A letter with overring (U+00C5 and U+00E5).
- Ä is Latin A letter with diaeresis (U+00C4 and U+00E4).
- Ö is Latin O letter with diaeresis (U+00D6 and U+00F6).
Transformations of Å, Ä and Ö
- Å can be represented as aa.
- Ä can be represented as ae.
- Ö can be represented as oe.
But instead of following these linguistical conventions, I suggest just stripping away the markings and using regular Latin letters.
Replacement of Å, Ä and Ö
- Å is replaced by A.
- Ä is replaced by A.
- Ö is replaced by O.
This could be useful for other languages as well, other than Swedish. This is not a critical feature that we must have, since we don't name new tags on a regular basis, but replacing å
with a
certainly looks better than reducing it to -
(hyphen-minus).