From 33c7e4daa0f09c0d5025d33b9241194d6f1c58a8 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 7 Mar 2010 06:38:55 +0000 Subject: #614124 by Damien Tournoud: Set locale settings during bootstrap. --- includes/unicode.inc | 3 --- 1 file changed, 3 deletions(-) (limited to 'includes/unicode.inc') 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 PHP mbstring extension for improved Unicode support.', array('@url' => 'http://www.php.net/mbstring'))); -- cgit v1.2.3