From 80041fdeff7eca86dc35f16a5904a10688d3e3b4 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 16 Feb 2010 22:50:21 +0000 Subject: [PATCH] Monotone-Parent: 8254402a4abe03e0c8531b7037c7ea6cdd4e24d3 Monotone-Revision: cafc941b84d70ffeb7da6fe4f7daf20a70782f5c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-02-16T22:50:21 Monotone-Branch: ca.inverse.sogo --- SoObjects/Appointments/SOGoCalendarComponent.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SoObjects/Appointments/SOGoCalendarComponent.m b/SoObjects/Appointments/SOGoCalendarComponent.m index 3a8abac2b..c7707699c 100644 --- a/SoObjects/Appointments/SOGoCalendarComponent.m +++ b/SoObjects/Appointments/SOGoCalendarComponent.m @@ -746,7 +746,7 @@ static inline BOOL _occurenceHasID (iCalRepeatableEntityObject *occurence, NSStr /* text part */ headerMap = [NGMutableHashMap hashMapWithCapacity: 1]; - [headerMap setObject: @"text/plain; charset=utf-8" + [headerMap setObject: @"text/plain; charset=\"utf-8\"" forKey: @"content-type"]; bodyPart = [NGMimeBodyPart bodyPartWithHeader: headerMap]; [bodyPart setBody: [text dataUsingEncoding: NSUTF8StringEncoding]]; @@ -756,7 +756,7 @@ static inline BOOL _occurenceHasID (iCalRepeatableEntityObject *occurence, NSStr /* calendar part */ header = [NSString stringWithFormat: @"text/calendar; method=%@;" - @" charset=utf-8", + @" charset=\"utf-8\"", [(iCalCalendar *) [object parent] method]]; headerMap = [NGMutableHashMap hashMapWithCapacity: 1]; [headerMap setObject:header forKey: @"content-type"];