From 02a0c9eda297e38855a0a498d77d12b37c272456 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 3 Sep 2008 13:06:50 +0000 Subject: [PATCH] Monotone-Parent: 23583042485912a57b9dbb1a6919152381d2ad3f Monotone-Revision: f8872e81db978182f854c43f0ec76c42507b0a28 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-09-03T13:06:50 Monotone-Branch: ca.inverse.sogo --- SOPE/sope-patchset-r1626.diff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SOPE/sope-patchset-r1626.diff b/SOPE/sope-patchset-r1626.diff index faa243b64..4cc855259 100644 --- a/SOPE/sope-patchset-r1626.diff +++ b/SOPE/sope-patchset-r1626.diff @@ -2298,8 +2298,8 @@ Index: sope-mime/NGMime/NGMimeRFC822DateHeaderFieldParser.m - buf[length] = '\0'; - + -+ length = [_data lengthOfBytesUsingEncoding: NSISOLatin1StringEncoding]; -+ bytes = [_data cStringUsingEncoding: NSISOLatin1StringEncoding]; ++ length = [_data lengthOfBytesUsingEncoding: NSUTF8StringEncoding]; ++ bytes = [_data cStringUsingEncoding: NSUTF8StringEncoding]; + /* remove leading chars (skip to first digit, the day of the month) */ while (length > 0 && (!isdigit(*bytes))) {