Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14726845
D18988.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
598 B
Referenced Files
None
Subscribers
None
D18988.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 3:49 AM (18 h, 50 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7016800
Default Alt Text
D18988.diff (598 B)
Attached To
Mode
D18988: Always setlocale() to en_US.UTF-8 for the main process
Attached
Detach File
Event Timeline
Log In to Comment