mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-20 13:52:40 +01:00
Use "en_US.UTF-8", not "C", as the LANG setting
Summary: `LANG=C` is smooshing UTF-8 in some cases. See IRC. Test Plan: User confirmed this works. Reviewers: btrahan, asherkin Reviewed By: asherkin CC: aran Differential Revision: https://secure.phabricator.com/D7659
This commit is contained in:
parent
dd4a4a8c45
commit
209861500f
1 changed files with 4 additions and 4 deletions
|
@ -294,10 +294,10 @@ final class PhabricatorRepository extends PhabricatorRepositoryDAO
|
|||
|
||||
private function getCommonCommandEnvironment() {
|
||||
$env = array(
|
||||
// NOTE: Force the language to "C", which overrides locale settings.
|
||||
// This makes stuff print in English instead of, e.g., French, so we can
|
||||
// parse the output of some commands, error messages, etc.
|
||||
'LANG' => 'C',
|
||||
// NOTE: Force the language to "en_US.UTF-8", which overrides locale
|
||||
// settings. This makes stuff print in English instead of, e.g., French,
|
||||
// so we can parse the output of some commands, error messages, etc.
|
||||
'LANG' => 'en_US.UTF-8',
|
||||
|
||||
// Propagate PHABRICATOR_ENV explicitly. For discussion, see T4155.
|
||||
'PHABRICATOR_ENV' => PhabricatorEnv::getSelectedEnvironmentName(),
|
||||
|
|
Loading…
Reference in a new issue