mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +01:00
fix charset translation
This commit is contained in:
parent
ccb945942f
commit
916f9994b6
@ -493,7 +493,7 @@ class Horde_iCalendar {
|
|||||||
$value = quoted_printable_decode($value);
|
$value = quoted_printable_decode($value);
|
||||||
// Quoted printable is normally encoded as utf-8.
|
// Quoted printable is normally encoded as utf-8.
|
||||||
if (isset($params['CHARSET'])) {
|
if (isset($params['CHARSET'])) {
|
||||||
$value = $GLOBALS['egw']->translation->convert($value, $params['CHARSET'],'iso-8859-1');
|
$value = $GLOBALS['egw']->translation->convert($value, $params['CHARSET']);
|
||||||
} else {
|
} else {
|
||||||
$value = $GLOBALS['egw']->translation->convert($value, 'utf-8');
|
$value = $GLOBALS['egw']->translation->convert($value, 'utf-8');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user