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: 7 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-11-24T23:45:01.411Z (18 days 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
- awesome-go - gounidecode - Unicode transliterator (also known as unidecode) for Go. (Natural Language Processing / Transliteration)
- zero-alloc-awesome-go - gounidecode - Unicode transliterator (also known as unidecode) for Go. (Natural Language Processing / Transliteration)
- awesome-go - gounidecode - Unicode transliterator for #golang - ★ 59 (Natural Language Processing)
- awesome-go-extra - gounidecode - 05-01T11:59:34Z|2015-09-23T21:17:29Z| (Bot Building / Transliteration)
- awesome-go-zh - gounidecode
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
}