Reputation: 693
I have a UTF-8-encoded string. This string is first saved to a file and then sent via Apache to a process written in C++, which receives it using Curl.
How can I decode the string in the C++ process?
Upvotes: 1
Views: 16881
Reputation: 8207
There is a very good article on CodeProject that shows how to read utf8 .Alternatively http://utfcpp.sourceforge.net/ has also manipulations to do it ( C++ & Boost: encode/decode UTF-8 ).
Upvotes: 2