From: moodler Date: Mon, 13 Sep 2004 08:21:46 +0000 (+0000) Subject: Auto-detection of type, apparently. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6d9b3de4e09efca507d427e8e393672befbd2341;p=moodle.git Auto-detection of type, apparently. --- diff --git a/filter/multilang/filter.php b/filter/multilang/filter.php index 440caa6335..833d8b4410 100644 --- a/filter/multilang/filter.php +++ b/filter/multilang/filter.php @@ -103,7 +103,7 @@ class XMLParser { $this->texts['en'] = $data; /// Create parser - $xml_parser = xml_parser_create('UTF-8'); + $xml_parser = xml_parser_create(''); xml_set_object($xml_parser, &$this); xml_set_element_handler($xml_parser, 'startElement', 'endElement'); xml_set_character_data_handler($xml_parser, 'characterData');