Shay
Shay

Reputation: 693

How do I decode UTF-8?

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

Answers (1)

perilbrain
perilbrain

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

Related Questions