Now the tokeniser is using the new textlib->entities_to_utf8()

own function (PHP4 and PHP compatible)

Merged from MOODLE_18_STABLE
This commit is contained in:
stronk7
2007-06-13 23:22:57 +00:00
parent 4e2cb0e3f3
commit 783fbd2234
+1 -1
View File
@@ -312,7 +312,7 @@ function tokenise_simplify($text, $overlap_cjk, $join_numbers) {
$textlib = textlib_get_instance();
// Decode entities to UTF-8
$text = html_entity_decode($text, ENT_QUOTES, 'UTF-8');
$text = $textlib->entities_to_utf8($text, true);
// Lowercase
$text = $textlib->strtolower($text);