Use wchar_t for everything on Windows. Solves a lot of filesystem charset problems.
Attach a file by drag & drop or click to upload