From: skodak Date: Mon, 26 Jun 2006 07:23:10 +0000 (+0000) Subject: fixed Turkish problems see, Bug #5878 - Teachers can't add blog and blocks; merged... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=77cf4951b7d245fac9991f3c38f673920c1d0110;p=moodle.git fixed Turkish problems see, Bug #5878 - Teachers can't add blog and blocks; merged from MOODLE_16_STABLE --- diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 46e74f2a91..846c6b536f 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -5963,7 +5963,7 @@ function moodle_setlocale($locale='') { if ($CFG->ostype != 'WINDOWS') { setlocale (LC_MESSAGES, $messages); } - if ($CFG->locale == 'tr_TR') { // To workaround a well-known PHP bug with Turkish + if ($CFG->locale == 'tr_TR' or $CFG->locale == 'tr_TR.UTF-8') { // To workaround a well-known PHP bug with Turkish setlocale (LC_CTYPE, $ctype); } }