-
Notifications
You must be signed in to change notification settings - Fork 893
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GODRIVER-1947 Unmarshal unicode surrogate pairs correctly in Unmarsha…
…lExtJSON. (#649) * GODRIVER-1947 Unmarshal unicode surrogate pairs correctly in UnmarshalExtJSON. * Correct err handling in jsonScanner.ScanString and remove unused field in UnmarshalExtJSON test. * Explicitly write unicode.ReplacementChar for invalid surrogate and simplify test types. * Add tests for high surrogate followed by non-Unicode escape sequence and 4-byte UTF-8 extJSON marshaling. * Explicitly write the Unicode replacement character for an un-paired Unicode surrogate value.
- Loading branch information
1 parent
a69cc5e
commit 4b2077a
Showing
4 changed files
with
204 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters