WSL-DistroLauncher
WSL-DistroLauncher copied to clipboard
Could not display system error message when non-English system locale.
Forced call Helpers::PrintErrorMessage(NO_ERROR);.
Wide character I/O function may not work when C locale.
Typically add call setlocale(LC_CTYPE, "") once resolves problem.
~~But Windows 10 version 1803 has "Use Unicode UTF-8 for worldwide language support" setting.
MSVC's C runtime doesn't support UTF-8 locale yet.
If will support both UTF-8 locale and non UTF-8 locale, I think _setmode(_fileno(stdout), _O_U8TEXT) instead of setlocale() may good.~~
MSVCRT now supports UTF-8 locale.
I ran into the same issue.
Error: 0xc03a001a ?? ??? ??? ???? ?? ??? ??? ??? ? ????. ?? ?? ??? ??? ??? ?? ?? ???? ????? ??? ?? ???? ???? ???.
Wish this problem should be fixed soon.