More uses for current_charset()

Merged from MOODLE_16_UTF8. Abandoning the branch.
This commit is contained in:
stronk7
2006-01-05 16:46:19 +00:00
parent 092a022695
commit 84e4d32e37
+2 -10
View File
@@ -369,11 +369,7 @@ class resource_ims extends resource_base {
if (empty($frameset)) {
/// Select encoding
if (!empty($CFG->unicode)) {
$encoding = 'utf-8';
} else {
$encoding = get_string('thischarset');
}
$encoding = current_charset();
/// Select direction
if (get_string('thisdirection') == 'rtl') {
@@ -441,11 +437,7 @@ class resource_ims extends resource_base {
}
/// Select encoding
if (!empty($CFG->unicode)) {
$encoding = 'utf-8';
} else {
$encoding = get_string('thischarset');
}
$encoding = current_charset();
/// Select direction
if (get_string('thisdirection') == 'rtl') {