diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2023-08-15 06:11:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-15 09:11:59 -0400 |
| commit | a155e35850def120af90993e1b4309b80b97eb85 (patch) | |
| tree | d886aa1293c40d8565fae63a168a5c59755d0b17 /lib/std/debug.zig | |
| parent | f7b82ed416e32a9164c67a35924b9b99e86707fa (diff) | |
| download | zig-a155e35850def120af90993e1b4309b80b97eb85.tar.gz zig-a155e35850def120af90993e1b4309b80b97eb85.zip | |
std.json: Fix decoding of UTF-16 surrogate pairs (#16830)
* std.unicode: Add more UTF-16 decoding functions
This mostly makes parts of Utf16LeIterator reusable
* std.json: Fix decoding of UTF-16 surrogate pairs
Before this commit, there were 524,288 codepoints that would get decoded improperly. After this commit, there are 0.
Fixes #16828
Diffstat (limited to 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions
