diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-20 21:06:08 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-20 21:06:08 +0900 |
| commit | 3eb2c98a1d7282a7904db5996aae3ef1a5da4b30 (patch) | |
| tree | cd23efc869f86226e00c4e90d9a41c9282c47af8 /src/lib.rs | |
| parent | 236332f9bfd9cb0688815142237f299939b2d80a (diff) | |
| download | reparojson-3eb2c98a1d7282a7904db5996aae3ef1a5da4b30.tar.gz reparojson-3eb2c98a1d7282a7904db5996aae3ef1a5da4b30.tar.zst reparojson-3eb2c98a1d7282a7904db5996aae3ef1a5da4b30.zip | |
fix: output of Unicode codepoints (\uXXXX)
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -353,7 +353,7 @@ impl<'input, 'output, I: ByteStream, W: Write> Parser<'input, 'output, I, W> { { return Err(SyntaxError::InvalidValue.into()); } - self.output.write_all(&[b'\\', u1, u2, u3, u4])?; + self.output.write_all(&[b'\\', b'u', u1, u2, u3, u4])?; } _ => return Err(SyntaxError::InvalidValue.into()), } |
