MDL-25018 stop html_to_text from breaking utf-8 multibyte characters.

This commit is contained in:
Tim Hunt
2010-11-02 20:03:48 +00:00
parent 29946ad595
commit 6cb034c9d2
3 changed files with 28 additions and 6 deletions
+2 -4
View File
@@ -580,9 +580,7 @@ class html2text
*/
function _strtoupper($str)
{
if (function_exists('mb_strtoupper'))
return mb_strtoupper($str);
else
return strtoupper($str);
$tl = textlib_get_instance();
return $tl->strtoupper($str);
}
}