categories are not converted to UTF-8 in getSIF

At getSIF in calendar/inc/class.sifcalendar.inc.php, categories are not converted to UTF-8.
Therefore, when we try to sync our PDA & eGW via SyncML,
categories not stored in UTF-8 become unreadable on the synced device.

patch contributed by Heiga Zen
This commit is contained in:
Lars Kneschke 2006-11-13 09:23:21 +00:00
parent 1ba36a6ca5
commit 3397b87aad

View File

@ -355,7 +355,7 @@
foreach($categories as $cat_id) { foreach($categories as $cat_id) {
if($catData = $egwCategories->return_single($cat_id)) { if($catData = $egwCategories->return_single($cat_id)) {
if(!empty($value)) $value .= '; '; if(!empty($value)) $value .= '; ';
$value .= $catData[0]['name']; $value .= $GLOBALS['egw']->translation->convert($catData[0]['name'], $sysCharSet, 'utf-8');
} }
} }
} }