This PR has supported UTF-16 and UTF-20 for input characters passed to the deserialization process.
Note that input characters must be encoded in the UTF-8 format when deserializing with FILE* or std::istreams objects.
The deserialization process internally converts input characters into the UTF-8 encoded ones if they are encoded in the UTF-16 or UTF-32 format because the other features assume that the string values are encoded in the UTF-8 format.
Furthermore, the test suite and documentation have also been updated along with the implementation above.
coverage: 100.0%. remained the same
when pulling 441c226526f677853f4ad6ffd0e00fc47c315e03 on feature/209_support_utf16_utf32_input_for_parse
into 0adc43cd842120785df21532ff34b8eb1a934c2f on develop.
This PR has supported UTF-16 and UTF-20 for input characters passed to the deserialization process.
Note that input characters must be encoded in the UTF-8 format when deserializing with
FILE*
orstd::istreams
objects.The deserialization process internally converts input characters into the UTF-8 encoded ones if they are encoded in the UTF-16 or UTF-32 format because the other features assume that the string values are encoded in the UTF-8 format.
Furthermore, the test suite and documentation have also been updated along with the implementation above.