Page MenuHomePhorge

D25846.1734099908.diff
No OneTemporary

D25846.1734099908.diff

diff --git a/src/applications/diffusion/protocol/DiffusionCommandEngine.php b/src/applications/diffusion/protocol/DiffusionCommandEngine.php
--- a/src/applications/diffusion/protocol/DiffusionCommandEngine.php
+++ b/src/applications/diffusion/protocol/DiffusionCommandEngine.php
@@ -175,10 +175,12 @@
$repository = $this->getRepository();
$env = array();
- // NOTE: Force the language to "en_US.UTF-8", which overrides locale
+ // 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.
- $env['LANG'] = 'en_US.UTF-8';
+ // Note that LANG can be ignored if there is LANGUAGE.
+ // https://we.phorge.it/T15872
+ $env['LC_ALL'] = 'C';
// Propagate PHABRICATOR_ENV explicitly. For discussion, see T4155.
$env['PHABRICATOR_ENV'] = PhabricatorEnv::getSelectedEnvironmentName();

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 13, 14:25 (21 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1008192
Default Alt Text
D25846.1734099908.diff (982 B)

Event Timeline