This makes pretty slugs out of any string in any charset.
There is an alternate implementation at https://github.com/slugify/slugify , but
- it has GNU license
- it just passes cyrillic letters along!
Most reasonable seems to use Transliterator from ICU4J library with custom mappings.
This is very likely quite slow: needs benchmarking.