-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
locale: fix missing en_US.UTF-8 locale
Summary: See #814. The "en_US.UTF-8" locale is not always valid. WSL uses `C.UTF-8` locale. Change the `LANG` environment calculation to: - Respect users' LANG setting if it's already UTF-8. - Fallback to `C.UTF-8` instead of `en_US.UTF-8`, which works in WSL. Reviewed By: evangrayk Differential Revision: D52927838 fbshipit-source-id: c9110437e00382bb84e50d6b141fe5d4ce69f813
- Loading branch information
1 parent
2652dab
commit a3608fd
Showing
1 changed file
with
24 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters