]> git.mjollnir.org Git - moodle.git/commitdiff
added post URL backconversion to UTF8
authordiml <diml>
Tue, 8 Apr 2008 21:55:22 +0000 (21:55 +0000)
committerdiml <diml>
Tue, 8 Apr 2008 21:55:22 +0000 (21:55 +0000)
search/documents/glossary_document.php

index 3a533ec521a83fc65cc7417dea765db5519f6165..8d48e112b2ce2e110615e4f40824eba8645d6aff 100644 (file)
@@ -245,4 +245,13 @@ function glossary_check_text_access($path, $itemtype, $this_id, $user, $group_id
     
     return true;
 }
+
+/**
+* post processes the url for cleaner output.
+* @param string $title
+*/
+function glossary_link_post_processing($title){
+    return mb_convert_encoding($title, 'auto', 'UTF-8');
+}
+
 ?>
\ No newline at end of file