by Sharlin · 1y ago · 0 comments
You can use W functions and convert the WTF-16 strings you get to WTF-8 and use that in std::string without problems.
On top of that, how many new gotchas these “modern” Windows functions hide, and how many fix cycles are required to polish them to the required level?
Yes it would have required numerous fix cycles, but curl in my mind is such a polished product and they would have bit the bullet.
However, in neither case this is a shortcoming of curl. They'd be responding to a complicated problem caused by the platform they're running on.