What unicode/non-Latin test cases are covered?
What unicode/non-Latin test cases are covered?
About sindresorhus/slugify · 2 messages · last activity 5/18/2026
Question
RepoPilot
The repository has comprehensive test coverage for non-Latin scripts. Based on the test file, here are the unicode/non-Latin test cases covered:
Germanic/European scripts:
- German umlauts:
ä ö ü Ä Ö Ü ß[test.js:L113] - Vietnamese:
ố Ừ Đ[test.js:L118] - Romanian:
ș Ț[test.js:L133] - Turkish:
İ ı Ş ş Ç ç Ğ ğ[test.js:L138] - Armenian:
Ե ր ե ւ ա ն[test.js:L143]
Middle Eastern/Asian scripts:
- Arabic:
ث س و[test.js:L123] - Persian/Farsi:
چ ی پ[test.js:L128] - Urdu:
ٹ ڈ ھ[test.js:L131] - Pashto:
ګ ړ څ[test.js:L126] - Russian (Cyrillic):
Ж п ю[test.js:L121]
East Asian scripts:
- Chinese:
你好世界(in transliterate disabled test) [test.js:L237] - Arabic script:
مرحبا(in transliterate disabled test) [test.js:L238]
Locale-specific handling: The tests also verify locale-specific transliteration behavior with Swedish and German locales for handling umlauts differently [test.js:L218-L223], and Turkish locale for case conversion [test.js:L224].
FOLLOW_UPS:
- How does locale option affect transliteration results?
- What happens when transliterate option is disabled?
- Are there emoji replacement test cases covered?
Want to ask your own question?
Open chat for sindresorhus/slugify →Public Q&A. Generated by RepoPilot from the actual source of sindresorhus/slugify. AI answers can be incomplete or stale — verify before relying on them.