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?
to your account
> InvalidUTF8Error will be returned if an invalid UTF-8 sequence is encountered.
But http://golang.org/pkg/encoding/json/#InvalidUTF8Error says:
> As of Go 1.2, Marshal instead coerces the string to valid UTF-8 by replacing
invalid bytes with the Unicode replacement rune U+FFFD.
The comment for Marshal should be updated to reflect that InvalidUTF8Error is no longer
The text was updated successfully, but these errors were encountered:
Labels changed: added repo-main, release-go1.4.
Status changed to Accepted.
Sorry, something went wrong.
Owner changed to @adg.
Status changed to Started.
CL https://golang.org/cl/122180043 mentions this issue.
This issue was closed by revision 77a8dca.
Status changed to Fixed.
encoding/json: document coercion of invalid UTF-8 characters
No branches or pull requests