From: diml Date: Tue, 8 Apr 2008 21:55:22 +0000 (+0000) Subject: added post URL backconversion to UTF8 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f1cf028af872a8c9b6a5f6a71885dd374b2056ea;p=moodle.git added post URL backconversion to UTF8 --- diff --git a/search/documents/glossary_document.php b/search/documents/glossary_document.php index 3a533ec521..8d48e112b2 100644 --- a/search/documents/glossary_document.php +++ b/search/documents/glossary_document.php @@ -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