Monotone-Parent: b5a04e99cccb4e6bde4bed001b9a407168745cad

Monotone-Revision: ae021bb9d1c2734bd2fb058dda318f00f1edb2e7

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-01-18T09:23:06
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2010-01-18 09:23:06 +00:00
parent 5dceaf32f0
commit 80e9302dbc
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2010-01-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* Main/sogod.m (main): set the "GNUSTEP_STRING_ENCODING"
environment variable to NSUTF8StringEncoding to properly decode
the user defaults strings in UTF8.
2010-01-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoUserSettings.m

View File

@ -38,6 +38,11 @@ main (int argc, char **argv, char **env)
SOGoSystemDefaults *sd;
int rc;
/* Here we work around a bug in GNUstep which decode XML user defaults using
the system encoding, rather than honouring the encoding specified in the
file. */
putenv ("GNUSTEP_STRING_ENCODING=NSUTF8StringEncoding");
pool = [NSAutoreleasePool new];
if (getuid() > 0)