Question
What unicode/non-Latin test cases are covered?
About sindresorhus/slugify · 2 messages · last activity 7/6/2026
What unicode/non-Latin test cases are covered?
The repository includes comprehensive unicode and non-Latin test cases covering multiple language families:
Germanic Languages:
ä ö ü Ä Ö Ü ß [test.js:L111]Romance Languages:
ố Ừ Đ [test.js:L115]ș Ț [test.js:L143]Semitic Languages:
ث س و [test.js:L119]چ ی پ [test.js:L123]ٹ ڈ ھ [test.js:L127]Other Languages:
ګ ړ څ [test.js:L131]Ж п ю [test.js:L135]İ ı Ş ş Ç ç Ğ ğ [test.js:L145]The test cases also cover:
Räksmörgås) [test.js:L217-L221]transliterate: false option for non-ASCII preservation, including Chinese 你好世界 and Arabic مرحبا [test.js:L230-L235]These tests verify that the slugify function correctly handles transliteration across diverse character sets and language-specific rules.
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.