fktn-k / fkYAML

A C++ header-only YAML library
MIT License
69 stars 7 forks source link

#209 support UTF-16 / UTF-32 for deserialization input characters #221

Closed fktn-k closed 10 months ago

fktn-k commented 10 months ago

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.

coveralls commented 10 months ago

Coverage Status

coverage: 100.0%. remained the same when pulling 441c226526f677853f4ad6ffd0e00fc47c315e03 on feature/209_support_utf16_utf32_input_for_parse into 0adc43cd842120785df21532ff34b8eb1a934c2f on develop.