Skip to content

Unidecode transliterates non-latin characters to their latin equivalents

License

Notifications You must be signed in to change notification settings

liuzl/unidecode

 
 

Repository files navigation

Unidecode

GoDoc Build Status

Unidecode transliterates non-latin characters to their latin equivalents.

This library is a straight port of the Text::Unidecode Perl library.

Examples

package main

import (
	"github.com/go2c/unidecode"
)

func main() {
	println(unidecode.Unidecode("北亰"))         // "Bei Jing "
	println(unidecode.Unidecode("Чебурашка"))   // "Cheburashka"
}

License

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.

About

Unidecode transliterates non-latin characters to their latin equivalents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.9%
  • Perl 0.1%