From 12c26c3bb9b7a422b565cf333ec1f04a9babd8a7 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Mon, 13 Nov 2006 09:22:26 +0000 Subject: [PATCH] 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 --- calendar/inc/class.sifcalendar.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.sifcalendar.inc.php b/calendar/inc/class.sifcalendar.inc.php index 51367dbbb2..3e5347b58e 100644 --- a/calendar/inc/class.sifcalendar.inc.php +++ b/calendar/inc/class.sifcalendar.inc.php @@ -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'); } } }