From ab220f5245c01cf797d381eb19e9a7527bbe8f52 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 24 Apr 2008 01:05:13 +0000 Subject: [PATCH] Monotone-Parent: 0077efee9316ca1e744e82d28a7eb1b8c54b05ef Monotone-Revision: aedd631068b1147a4f0674f42632b314194f6f83 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-04-24T01:05:13 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 6 ++++++ SoObjects/SOGo/SOGoContentObject.m | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 327220f8f..514f2561c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-04-23 Wolfgang Sourdeau + + * SoObjects/SOGo/SOGoContentObject.m ([SOGoContentObject + -davContentLength]): the content length should is now based on the + UTF-8 encoding. + 2008-04-22 Wolfgang Sourdeau * UI/Scheduler/UIxCalendarSelector.m ([UIxCalendarSelector diff --git a/SoObjects/SOGo/SOGoContentObject.m b/SoObjects/SOGo/SOGoContentObject.m index a4bfbc377..af4e3b531 100644 --- a/SoObjects/SOGo/SOGoContentObject.m +++ b/SoObjects/SOGo/SOGoContentObject.m @@ -344,7 +344,7 @@ content = [record objectForKey: @"c_content"]; return [NSString stringWithFormat: @"%u", - [content lengthOfBytesUsingEncoding: NSISOLatin1StringEncoding]]; + [content lengthOfBytesUsingEncoding: NSUTF8StringEncoding]]; } - (NSException *) davMoveToTargetObject: (id) _target