New developmental setting to force UTF for the whole server

Plus, some optimisation on the way encoding is stored (in the session).
This commit is contained in:
moodler
2004-04-27 13:57:46 +00:00
parent 37aaf07463
commit cec0a0fc30
3 changed files with 14 additions and 6 deletions
+1
View File
@@ -219,6 +219,7 @@
if (isset($_GET['lang'])) {
$SESSION->lang = $lang;
$SESSION->encoding = get_string('thischarset');
}
if (empty($CFG->lang)) {
$CFG->lang = "en";