Question
What unicode/non-Latin test cases are covered?
About sindresorhus/slugify · 2 messages · last activity 7/20/2026
What unicode/non-Latin test cases are covered?
The repository covers extensive Unicode and non-Latin test cases, as shown in [test.js:L106-L145]:
Language Support:
ä ö ü Ä Ö Ü ß → ae oe ue Ae Oe Ue ssố Ừ Đ → o U Dث س و → th s wچ ی پ → ch y pٹ ڈ ھ → t d hګ ړ څ → g r cЖ п ю → Zh p yuș Ț → s Tİ ı Ş ş Ç ç Ğ ğ → I i S s C c G gԵ ր ե ւ ա ն → Ye r ye a nAdditionally, [test.js:L211-L225] tests locale-specific transliteration, such as Swedish (sv) vs. German (de) handling of Räksmörgås producing different results.
The README also mentions the library handles most major languages and references support for German umlauts, Vietnamese, Arabic, Russian, and more.
FOLLOW_UPS:
Want to ask your own question?
Open chat for sindresorhus/slugifyPublic Q&A. Generated by RepoPilot from the actual source of sindresorhus/slugify. AI answers can be incomplete or stale — verify before relying on them.