On Windows, wcstombs() converts UTF-16 to ANSI, not to UTF-8.
Attach a file by drag & drop or click to upload