From 895d4e385cf06090ec120166da6bcdd0622ba60e Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 17 Mar 2010 12:34:52 +0000 Subject: [PATCH] - Use iconv's //IGNORE instead of //TRANSLIT --- program/include/main.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/include/main.inc b/program/include/main.inc index 777bb5806..3aee7b4b7 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -209,8 +209,8 @@ function rcube_charset_convert($str, $from, $to=NULL) // convert charset using iconv module if (function_exists('iconv') && $from != 'UTF-7' && $to != 'UTF-7') { if ($iconv_options === null) { - // transliterate characters not available in output charset - $iconv_options = '//TRANSLIT'; + // ignore characters not available in output charset + $iconv_options = '//IGNORE'; if (iconv('', $iconv_options, '') === false) { // iconv implementation does not support options $iconv_options = '';