This issue tracks the TODO list in order to fix the encoding issue on Window.
Currently Bitcoin Core uses the ANSI encoding on Windows so that it would affected by user's language settings, they might not able to open some non-ASCII name files.
You can test all these changes in #13787 (includes leveldb changes)
Open PRs:
Merged PRs:
This issue tracks the TODO list in order to fix the encoding issue on Window.
Currently Bitcoin Core uses the ANSI encoding on Windows so that it would affected by user's language settings, they might not able to open some non-ASCII name files.
You can test all these changes in #13787 (includes leveldb changes)
Open PRs:
Merged PRs:
_wfopeninstead offopenon Windows to pass unicode filename (utils: Use _wfopen and _wfreopen on Windows #13866)fs::path.string()to be always encoded to utf-8 (utils: Make fs::path::string() always return utf-8 string on Windows #13877)ifstreamandofstreamto accept unicode filename. ( utils: Add fstream wrapper to allow to pass unicode filename on Windows #13878)runCommandworks on unicode filename (utils: run commands using utf-8 string on Windows #13886)(...)Afunction to(...)Won Windows if it is related to filename or command line. (Call unicode API on Windows #13888)