WSL-DistroLauncher icon indicating copy to clipboard operation
WSL-DistroLauncher copied to clipboard

Could not display system error message when non-English system locale.

Open 0xbadfca11 opened this issue 7 years ago • 1 comments

image 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.

0xbadfca11 avatar May 14 '18 11:05 0xbadfca11

I ran into the same issue.

Error: 0xc03a001a ?? ??? ??? ???? ?? ??? ??? ??? ? ????. ?? ?? ??? ??? ??? ?? ?? ???? ????? ??? ?? ???? ???? ???.

Wish this problem should be fixed soon.

amarese avatar Jun 05 '20 02:06 amarese