forked from extern/egroupware
don't convert charset 2 times anymore
This commit is contained in:
parent
ffb60e3bdf
commit
40012677d7
@ -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'])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user