Go to file
Charles Iliya Krempeaux fc2455f7ec added more tests 2018-07-02 11:17:47 -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
errors.go errors 2018-07-02 02:16:28 -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
invalidutf8.go utf8s.InvalidUTF8Complainer 2018-07-02 02:16:14 -07:00
len.go utf8s.Len() 2018-07-02 11:11:03 -07:00
len_test.go utf8s.Len() 2018-07-02 11:14:48 -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 added more tests 2018-07-02 11:17:47 -07:00
writerune.go utf8s.WriteRune() 2018-07-02 02:37:29 -07:00
writerune_test.go utf8s.WriteRune() 2018-07-02 02:37:29 -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)