don't convert charset 2 times anymore

This commit is contained in:
Lars Kneschke 2006-08-17 03:38:27 +00:00
parent ffb60e3bdf
commit 40012677d7

View File

@ -493,12 +493,6 @@ class Horde_iCalendar {
|| isset($params['QUOTED-PRINTABLE'])) { || isset($params['QUOTED-PRINTABLE'])) {
$value = quoted_printable_decode($value); $value = quoted_printable_decode($value);
// Quoted printable is normally encoded as utf-8.
if (isset($params['CHARSET'])) {
$value = $GLOBALS['egw']->translation->convert($value, $params['CHARSET']);
} else {
$value = $GLOBALS['egw']->translation->convert($value, 'utf-8');
}
} }
if (isset($params['CHARSET'])) { if (isset($params['CHARSET'])) {