summaryrefslogtreecommitdiff
path: root/includes/unicode.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-07 06:38:55 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-07 06:38:55 +0000
commit33c7e4daa0f09c0d5025d33b9241194d6f1c58a8 (patch)
treeaed4eb2765da2ced57f3e52cc351316b668d1110 /includes/unicode.inc
parent0c707d8260f240fb7f178d44852485ec8c07ae25 (diff)
downloadbrdo-33c7e4daa0f09c0d5025d33b9241194d6f1c58a8.tar.gz
brdo-33c7e4daa0f09c0d5025d33b9241194d6f1c58a8.tar.bz2
#614124 by Damien Tournoud: Set locale settings during bootstrap.
Diffstat (limited to 'includes/unicode.inc')
-rw-r--r--includes/unicode.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/includes/unicode.inc b/includes/unicode.inc
index 6f1b52a48..c3638c9a8 100644
--- a/includes/unicode.inc
+++ b/includes/unicode.inc
@@ -39,9 +39,6 @@ function _unicode_check() {
// Ensure translations don't break at install time
$t = get_t();
- // Set the standard C locale to ensure consistent, ASCII-only string handling.
- setlocale(LC_CTYPE, 'C');
-
// Check for mbstring extension
if (!function_exists('mb_strlen')) {
return array(UNICODE_SINGLEBYTE, $t('Operations on Unicode strings are emulated on a best-effort basis. Install the <a href="@url">PHP mbstring extension</a> for improved Unicode support.', array('@url' => 'http://www.php.net/mbstring')));