title: How to write UTF-8 file with fprintf in C++
body: <p>I am programming (just occassionally) in C++ with VisualStudio and MFC. I write a file with fopen and fprintf. The file should be encoded in UTF8. Is there any possibility to do this? Whatever I try, the file is either double byte unicode or ISO-8859-2 (latin2) encoded.</p>
  
  <p>Glanebridge</p>