Unidecode
transliterates non-latin characters to their latin equivalents.
This library is a straight port of the Text::Unidecode Perl library.
package main
import (
"github.com/tzvetkoff-go/unidecode"
)
func main() {
println(unidecode.Unidecode("北亰")) // "Bei Jing "
println(unidecode.Unidecode("Чебурашка")) // "Cheburashka"
}
The table.go
file is a translation of the original x*.pm
files, and as such is subject to their original license.
Anything else is subject to the MIT license.