leethomason / tinyxml2

TinyXML2 is a simple, small, efficient, C++ XML parser that can be easily integrated into other programs.
zlib License
5.09k stars 1.83k forks source link

Support for char8_t and std::u8string #956

Closed JanFellner closed 11 months ago

JanFellner commented 1 year ago

I am adding this ticket just to have a reference and hook for ppl interested in the support for the C++20 datatype char8_t and std::u8string

willeccles commented 1 year ago

As far as I'm aware, this library intentionally doesn't support the STL in any capacity (and does not even depend on it). Is there a reason why you can't just use these types in your surrounding code and convert from the char data?

leethomason commented 11 months ago

That's correct - this is a non-STL library. (Which in 2023 is a bit odd, I'll grant you. Maybe one day there will be TinyXML-3 that uses STL.)