The index operator doesn't use the `char` boundaries, but rather byte boundaries. So I switched back to a simpler, but slightly less efficient loop that simply adds individual characters to the output. It also doesn't escape Unicode anymore, as this shouldn't be an issue in UTF-8 encoded output files.
252 B
252 B
Changelog
Table of Contents
[Unreleased]
Fixed
-
fix serializing Unicode
[v0.2.0] - 2022-11-25
Added
-
parsing & deserialization
[v0.1.0] - 2022-11-18
Added
-
initial release
-
serialization