Closed achaikou closed 3 years ago
On all modern platforms, but Windows prior to recent years, file-name string passed to fopen is interpreted as UTF-8 [1]. Known and common workaround that suits to all Windows versions is to use MultiByteToWideChar function.
[1] https://en.wikipedia.org/wiki/Unicode_in_Microsoft_Windows#UTF-8
On all modern platforms, but Windows prior to recent years, file-name string passed to fopen is interpreted as UTF-8 [1]. Known and common workaround that suits to all Windows versions is to use MultiByteToWideChar function.
[1] https://en.wikipedia.org/wiki/Unicode_in_Microsoft_Windows#UTF-8