Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fiam/Gounidecode
Unicode transliterator for #golang
https://github.com/fiam/Gounidecode
Last synced: 20 days ago
JSON representation
Unicode transliterator for #golang
- Host: GitHub
- URL: https://github.com/fiam/Gounidecode
- Owner: fiam
- Created: 2012-05-01T11:59:34.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-09-23T21:17:29.000Z (about 9 years ago)
- Last Synced: 2024-10-12T13:35:43.978Z (about 1 month ago)
- Language: Go
- Size: 369 KB
- Stars: 80
- Watchers: 6
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Unicode transliterator (also known as unidecode) for Go
=======================================================Use the following command to install gounidecode
go get -u 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
}