Skip to content

torlangballe/gounidecode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Unicode transliterator (also known as unidecode) for Go

Use the following command to install gounidecode

go get https://github.com/fiam/gounidecode/unidecode

Example usage

package main

import (
    "fmt"
    "github.com/fiam/gounidecode/unidecode"
)

func main() {
    fmt.Println(Unidecode("áéíóú")) // Will print aeiou
    fmt.Println(Unidecode("\u5317\u4EB0")) // Will print Bei Jing
    fmt.Println(Unidecode("Κνωσός")) // Will print Knosos
}

About

Unicode transliterator for #golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%