From 1d024f37cc5be295b5fb2b49fdb423e487b76eba Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 6 May 2015 10:47:08 +0200 Subject: [PATCH] Fix mb_substitute_character() use --- program/lib/Roundcube/rcube_charset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/lib/Roundcube/rcube_charset.php b/program/lib/Roundcube/rcube_charset.php index d8750a06f..048961aeb 100644 --- a/program/lib/Roundcube/rcube_charset.php +++ b/program/lib/Roundcube/rcube_charset.php @@ -753,7 +753,7 @@ class rcube_charset // iconv/mbstring are much faster (especially with long strings) if (function_exists('mb_convert_encoding')) { - $msch = mb_substitute_character('none'); + $msch = mb_substitute_character(); mb_substitute_character('none'); $res = mb_convert_encoding($input, 'UTF-8', 'UTF-8'); mb_substitute_character($msch);