Questions tagged [wide-api]
2 questions
10
votes
3 answers
Opening fstream with file with Unicode file name under Windows using non-MSVC compiler
I need to open a file as std::fstream (or actually any other std::ostream) when file name is "Unicode" file name.
Under MSVC I have non-standard extension std::fstream::open(wchar_t const *,...)? What can I do with other compilers like GCC (most…

Artyom
- 31,019
- 21
- 127
- 215
4
votes
2 answers
utfcpp and Win32 wide API
Is it good/safe/possible to use the tiny utfcpp library for converting everything I get back from the wide Windows API (FindFirstFileW and such) to a valid UTF8 representation using utf16to8?
I would like to use UTF8 internally, but am having…

rubenvb
- 74,642
- 33
- 187
- 332