How to transliterate Cyrillic to Latin text

后端 未结 10 1318
情话喂你
情话喂你 2020-12-05 05:01

I have a method which turns any Latin text (e.g. English, French, German, Polish) into its slug form,

e.g. Alpha Bravo Charlie => alpha-bravo-char

10条回答
  •  情歌与酒
    2020-12-05 05:39

    Microsoft has a transliteration tool which includes a DLL you could hook into (you would need to check licensing restrictions if you're going to use it non-personally). You can read more about it in Dejan Vesić's blog post

提交回复
热议问题