From 23fdf1c46e05e4681f720e8d5af5c7e0907dc3e5 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Thu, 22 Oct 2015 11:15:26 +0000 Subject: [PATCH] * Mail/API: some servers do report capabilities that they do not fully support; thus relying on those results in failure; use hordes capability_ignore to avoid the problems;map charset ks_c_5601-1987 to CP949 as the former is not supported by php(s) conversion functions and should be mapped to the latter --- phpgwapi/inc/class.translation.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpgwapi/inc/class.translation.inc.php b/phpgwapi/inc/class.translation.inc.php index c08c445815..a783b7d598 100644 --- a/phpgwapi/inc/class.translation.inc.php +++ b/phpgwapi/inc/class.translation.inc.php @@ -825,6 +825,9 @@ class translation */ switch($from) { + case 'ks_c_5601-1987': + $from = 'CP949'; + break; case 'gb2312': case 'gb18030': $from = 'EUC-CN';