diff --git a/README.md b/README.md index a799f75..2cee964 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ -# go-utf8s +# go-utf8 Package **utf8s** 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 +Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-utf8 -[![GoDoc](https://godoc.org/github.com/reiver/go-utf8s?status.svg)](https://godoc.org/github.com/reiver/go-utf8s) +[![GoDoc](https://godoc.org/github.com/reiver/go-utf8?status.svg)](https://godoc.org/github.com/reiver/go-utf8) ## Example diff --git a/runeerror.go b/runeerror.go index fe1702d..3f4ff54 100644 --- a/runeerror.go +++ b/runeerror.go @@ -1,9 +1,5 @@ package utf8s -import ( - "unicode/utf8" -) - const ( - RuneError = utf8.RuneError + RuneError = '\uFFFD' // Unicode Replacement Character (U+FFFD). ) diff --git a/runewriter_test.go b/runewriter_test.go index 90e2251..ba3eb5f 100644 --- a/runewriter_test.go +++ b/runewriter_test.go @@ -1,7 +1,7 @@ package utf8s_test import ( - "github.com/reiver/go-utf8s" + "github.com/reiver/go-utf8" "strings"