Projects
View on GitHub
axgle/mahonia
About
character-set conversion library implemented in Go
Developer ToolsMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalmahonia
character-set conversion library implemented in Go.
Mahonia is a character-set conversion library implemented in Go. All data is compiled into the executable; it doesn't need any external data files.
based on http://code.google.com/p/mahonia/
install
go get github.com/axgle/mahonia
example
package main
import "fmt"
import "github.com/axgle/mahonia"
func main(){
enc:=mahonia.NewEncoder("gbk")
//converts a string from UTF-8 to gbk encoding.
fmt.Println(enc.ConvertString("hello,世界"))
}
donate
Explore related projects
Loading…