From e68c05b8a05175b44922c7fb6853085a7996c0af Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 20 Sep 2010 14:41:04 +0000 Subject: [PATCH] See changelog. Monotone-Parent: 5004088698623bff1c51c9b3abb0d4085643d720 Monotone-Revision: 69ff4bd7080d601b2ad9cfce9ae637ddad8953e2 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-09-20T14:41:04 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ SoObjects/SOGo/SOGoContentObject.m | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 909104c09..b07b01644 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2010-09-20 Francis Lachapelle + * SoObjects/SOGo/SOGoContentObject.m (-davContentLength): use UTF8 + encoding instead of latin1. + * UI/WebServerResources/MailerUI.js (deleteWithoutTrash): new function used when the messages can't be copied to the trash folder (usually because the user's mailbox is overquota). diff --git a/SoObjects/SOGo/SOGoContentObject.m b/SoObjects/SOGo/SOGoContentObject.m index de10e398c..1d0416bf1 100644 --- a/SoObjects/SOGo/SOGoContentObject.m +++ b/SoObjects/SOGo/SOGoContentObject.m @@ -373,7 +373,7 @@ - (NSString *) davContentLength { return [NSString stringWithFormat: @"%u", - [content lengthOfBytesUsingEncoding: NSISOLatin1StringEncoding]]; + [content lengthOfBytesUsingEncoding: NSUTF8StringEncoding]]; } // - (NSString *) davResourceType