mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
Caveats: Add note about UTF-8 encoding
This commit is contained in:
parent
f11b5eadc8
commit
cea3fe4165
@ -375,6 +375,10 @@ which are more complex than I'd care to try and stash into a `const char array[]
|
|||||||
|
|
||||||
### Caveats
|
### 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
|
#### 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.
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user