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
  • 159,194
  • 20
  • 270
  • 458
Shay
  • 583
  • 2
  • 9
  • 24

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,732
  • 2
  • 26
  • 35