diff options
author | alecpl <alec@alec.pl> | 2010-03-17 12:34:52 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-03-17 12:34:52 +0000 |
commit | 895d4e385cf06090ec120166da6bcdd0622ba60e (patch) | |
tree | 70ccaa8d511c43b3ea47ee150c758c6d85d8201b | |
parent | 3e34297b792ad3b62d5016be47870a5c9006da9d (diff) |
- Use iconv's //IGNORE instead of //TRANSLIT
-rw-r--r-- | program/include/main.inc | 4 |
1 files 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 = ''; |