From bc1b45f8734be9327cd992235ac28ea4e8fd18ae Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 12 Nov 2008 13:52:38 +0000 Subject: [PATCH] "fixed missing CHARSET for CN in ATTENDEE, reported by Hans-Juergen Tappe on the German list" --- calendar/inc/class.calendar_ical.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index 22f27b59d7..d81a1e5304 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -451,6 +451,7 @@ class calendar_ical extends calendar_boupdate //echo "$key:$valueID: value=$valueData, param=".print_r($paramDate,true)."\n"; $vevent->setAttribute($key, $valueData, $paramData); $options = array(); + if ($paramData['CN']) $valueData .= $paramData['CN']; // attendees or organizer CN can contain utf-8 content if($key != 'RRULE' && preg_match('/([\000-\012\015\016\020-\037\075])/',$valueData)) { $options['ENCODING'] = 'QUOTED-PRINTABLE';