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:22:26 +00:00
parent 6227931881
commit 12c26c3bb9

View File

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