Monotone-Parent: 120bebe836052f03cd990ffe1cf7418954873186

Monotone-Revision: 214586b6dc652f6581d2810e8828bd2d3a475295

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-07-04T20:23:14
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2007-07-04 20:23:14 +00:00
parent 58b5aaf3ec
commit 4e525877b2
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,9 @@
2007-07-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Mailer/SOGoMailObject.m ([SOGoMailObject
-contentAsString]): returns the message encoded in ISO Latin 1
again.
* SoObjects/SOGo/SOGoUser.m ([SOGoUser +initialize]): read the
SOGoSuperUsername user defaults.
([SOGoUser -initWithLogin:newLoginroles:newRoles]): simplified

View File

@ -435,9 +435,8 @@ static BOOL debugSoParts = NO;
if ([content isKindOfClass:[NSException class]])
return (id)content;
#warning the encoding here might be wrong...
s = [[NSString alloc] initWithData: content
encoding: NSUTF8StringEncoding];
s = [[NSString alloc] initWithData: content
encoding: NSISOLatin1StringEncoding];
if (s == nil) {
[self logWithFormat:
@"ERROR: could not convert data of length %d to string",