cJSON

mirror of Dave's cJSON
git clone git://git.thc420.xyz/cJSON
Log | Files | Refs | README | LICENSE

commit cea3fe4165306c6758225ac3fca3d3dd89a21c98
parent f11b5eadc8c988495b83ce7cd7fd486c0884678f
Author: Max Bruckner <max@maxbruckner.de>
Date:   Wed, 12 Apr 2017 21:22:07 +0200

Caveats: Add note about UTF-8 encoding

Diffstat:
MREADME.md | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -375,6 +375,10 @@ which are more complex than I'd care to try and stash into a `const char array[] ### Caveats +#### Character Encoding + +cJSON only supports UTF-8 encoded input and will always produce UTF-8 as output (If the input contained invalid UTF-8, it will most likely propagate it through to the output, thereby making the output non-valid UTF-8). + #### C Standard cJSON is written in ANSI C (or C89, C90). If your compiler or C library doesn't follow this standard, correct behavior is not guaranteed.