Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unicode/utf8: API #2967

Closed
rsc opened this issue Feb 9, 2012 · 1 comment
Closed

unicode/utf8: API #2967

rsc opened this issue Feb 9, 2012 · 1 comment
Milestone

Comments

@rsc
Copy link
Contributor

rsc commented Feb 9, 2012

Remove "This package calls a Unicode character a rune for brevity."
now that rune is a type?

Document that the decoders return the otherwise impossible result RuneError, 1
for an invalid encoding.
@rsc
Copy link
Contributor Author

rsc commented Feb 10, 2012

Comment 1:

fixed by
*** Submitted as
http://code.google.com/p/go/source/detail?r=58e600a849f2 ***
unicode/utf8: document return value for decode errors
Also replace archaic definition of rune.
R=golang-dev, bradfitz
CC=golang-dev
http://golang.org/cl/5654048

Status changed to Fixed.

@rsc rsc added fixed labels Feb 10, 2012
@rsc rsc added this to the Go1 milestone Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants