1

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?

Rob Kennedy
  • 161,384
  • 21
  • 275
  • 467
Shay
  • 633
  • 2
  • 11
  • 27

1 Answers1

2

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 ).

Community
  • 1
  • 1
perilbrain
  • 7,961
  • 2
  • 27
  • 35