Page MenuHomePhabricator

D18988.id.diff
No OneTemporary

D18988.id.diff

diff --git a/support/startup/PhabricatorStartup.php b/support/startup/PhabricatorStartup.php
--- a/support/startup/PhabricatorStartup.php
+++ b/support/startup/PhabricatorStartup.php
@@ -395,6 +395,11 @@
if (function_exists('libxml_disable_entity_loader')) {
libxml_disable_entity_loader(true);
}
+
+ // See T13060. If the locale for this process (the parent process) is not
+ // a UTF-8 locale we can encounter problems when launching subprocesses
+ // which receive UTF-8 parameters in their command line argument list.
+ @setlocale(LC_ALL, 'en_US.UTF-8');
}

File Metadata

Mime Type
text/plain
Expires
Fri, May 10, 11:20 AM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6281470
Default Alt Text
D18988.id.diff (598 B)

Event Timeline