You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation says "String values encode as JSON strings coerced to valid UTF-8, replacing invalid bytes with the Unicode replacement rune." That is what you are seeing here. The string "\xff" is not valid UTF-8.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
true
"\xff" "\xff"
What did you see instead?
false
"\xff" "�"
The text was updated successfully, but these errors were encountered: