mozillazg / go-unidecode

ASCII transliterations of Unicode text.
https://godoc.org/github.com/mozillazg/go-unidecode
MIT License
130 stars 19 forks source link

Transliteration error #12

Open kaysonwu opened 1 year ago

kaysonwu commented 1 year ago
unidecode.Unidecode("بسم الله")

The above characters were not correctly translated to bsm allh

kaysonwu commented 1 year ago

你的这个库很出色,如果能增加一个 language 参数就完美了,因为我正在使用你的库翻译 laravel 成 go 语言,在 Laravel str::ascii 方法中刚好有这个参数,目前在 go 的包里面就属你的包最接近了