C++ std::string and UTF-8 - by poiloi Hello, I just want to write some few simple lines to a text file in C++, but I want them to be encoded in UTF-8. What is the easiest and simple way to do so? Thanks Read the article