Monotone-Parent: 8254402a4abe03e0c8531b7037c7ea6cdd4e24d3

Monotone-Revision: cafc941b84d70ffeb7da6fe4f7daf20a70782f5c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-02-16T22:50:21
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-02-16 22:50:21 +00:00
parent 3d046791ba
commit 80041fdeff
@@ -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"];