Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2670921
D25846.1734090336.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
982 B
Referenced Files
None
Subscribers
None
D25846.1734090336.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 13, 11:45 (21 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1008192
Default Alt Text
D25846.1734090336.diff (982 B)
Attached To
Mode
D25846: Fix Diffusion commands in non-English environments
Attached
Detach File
Event Timeline
Log In to Comment