Skip to content
Permalink
Browse files
Merge pull request #2834 from dscho/lctype-should-adapt-to-console-co…
…de-page

fixup! mingw: ensure valid CTYPE
  • Loading branch information
dscho committed Sep 29, 2020
2 parents bcabfe8 + 8a1fdd6 commit 8209d434b9a76ff08b3dd10c6e62325c4b93aab3
Showing 1 changed file with 1 addition and 1 deletion.
@@ -3370,7 +3370,7 @@ static void setup_windows_environment(void)
#endif

if (!getenv("LC_ALL") && !getenv("LC_CTYPE") && !getenv("LANG"))
setenv("LC_CTYPE", "C", 1);
setenv("LC_CTYPE", "C.UTF-8", 1);

/*
* Change 'core.symlinks' default to false, unless native symlinks are

0 comments on commit 8209d43

Please sign in to comment.