From 1d024f37cc5be295b5fb2b49fdb423e487b76eba Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Thu, 07 May 2015 02:47:42 -0400 Subject: [PATCH] Fix mb_substitute_character() use --- program/lib/Roundcube/rcube_charset.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/lib/Roundcube/rcube_charset.php b/program/lib/Roundcube/rcube_charset.php index d8750a0..048961a 100644 --- a/program/lib/Roundcube/rcube_charset.php +++ b/program/lib/Roundcube/rcube_charset.php @@ -753,7 +753,7 @@ // 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); -- Gitblit v1.9.1