Skip to content
Snippets Groups Projects
Commit fcd5f44b authored by Peter Rotich's avatar Peter Rotich
Browse files

Revert "i18n: Ensure UTF-8 locale is set"

parent a1a5b028
Branches revert-3168-issue/2910
Tags
No related merge requests found
...@@ -290,10 +290,6 @@ class Bootstrap { ...@@ -290,10 +290,6 @@ class Bootstrap {
} }
if (extension_loaded('iconv')) if (extension_loaded('iconv'))
iconv_set_encoding('internal_encoding', 'UTF-8'); iconv_set_encoding('internal_encoding', 'UTF-8');
// Set the default locale to UTF-8. It will be changed by
// ::setLocaleForUser() later for web requests. See #2910
Translation::setLocale(LC_ALL, 'en_US.UTF-8');
} }
function croak($message) { function croak($message) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment