forked from lix-project/lix
52a8f9295b
As fromTOML supports \u and \U escapes, bring fromJSON on par. As JSON defaults to UTF-8 encoding (every JSON parser must support UTF-8), this change parses the `\u hex hex hex hex` sequence (\u followed by 4 hexadecimal digits) into an UTF-8 representation. Add a test to verify correct parsing, using all escape sequences from json.org. |
||
---|---|---|
.. | ||
build-remote | ||
cpptoml | ||
libexpr | ||
libmain | ||
libstore | ||
libutil | ||
nix | ||
nix-build | ||
nix-channel | ||
nix-collect-garbage | ||
nix-copy-closure | ||
nix-daemon | ||
nix-env | ||
nix-instantiate | ||
nix-prefetch-url | ||
nix-store | ||
resolve-system-dependencies |