📝 added documentation wrt. UTF-8 strings #406
This commit is contained in:
parent
cdd3b5a68c
commit
4765070318
3 changed files with 14 additions and 2 deletions
|
|
@ -450,6 +450,12 @@ class basic_json
|
|||
std::string
|
||||
@endcode
|
||||
|
||||
#### Encoding
|
||||
|
||||
Strings are stored in UTF-8 encoding. Therefore, functions like
|
||||
`std::string::size()` or `std::string::length()` return the number of
|
||||
bytes in the string rather than the number of characters or glyphs.
|
||||
|
||||
#### String comparison
|
||||
|
||||
[RFC 7159](http://rfc7159.net/rfc7159) states:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue