Opening Unicode Files
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi there! Is there anyway to open a unicode filename using standard C++ (no SDK/MFC please). I would like to use fstream, but the constructors for both ifstream and ofstream take a const char*. How can I pass in a wide char string containing the filename to be opened (Unicode), as this is a requirement for me? I investigated wfstream, but it seems to be just a cover-up. The doc says it's just a synonym for fstream, and moreover, if you take a look at the class definition of wfstream, you'll see that it internally uses const char* as well. Any suggestions?