Go to file
Charles Iliya Krempeaux f755b9ec77 utf8s.NilReaderComplainer 2018-07-02 02:15:35 -07:00
LICENSE initial commit 2018-07-01 23:04:04 -07:00
README.md initial commit 2018-07-01 23:04:04 -07:00
doc.go docs 2018-07-01 23:06:22 -07:00
format.go utf8s.FormatBinary() 2018-07-01 23:27:20 -07:00
format_test.go utf8s.FormatBinary() 2018-07-01 23:27:20 -07:00
nilreader.go utf8s.NilReaderComplainer 2018-07-02 02:15:35 -07:00
readrune.go improved docs 2018-07-02 01:36:39 -07:00
readrune_test.go utf8s.ReadRune() 2018-07-02 01:27:49 -07:00

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

GoDoc

Example

var reader io.Reader

// ...

r, n, err := utf8s.ReadRune(reader)
var writer io.Writer

// ...

var r rune

// ...

n, err := utf8s.WriteRune(w, r)