Charles Iliya Krempeaux 9acec1ea30 | ||
---|---|---|
LICENSE | ||
README.md | ||
doc.go | ||
errors.go | ||
format.go | ||
format_test.go | ||
invalidutf8.go | ||
len.go | ||
len_test.go | ||
nilreader.go | ||
nilwriter.go | ||
readrune.go | ||
readrune_test.go | ||
writerune.go | ||
writerune_test.go |
README.md
go-utf8s
Package utf8s provides tools provides tools for working with Unicode encoded as UTF-8, for the Go programming language.
Documention
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-utf8s
Example
var reader io.Reader
// ...
r, n, err := utf8s.ReadRune(reader)
var writer io.Writer
// ...
var r rune
// ...
n, err := utf8s.WriteRune(w, r)