BugFix #0002622: The server Dovecot use by default an UTF-8 and by doing so it cause a wrong re-encoding in UTF-7 when reaching the sieve server (knowing that the foldername in sieve are encoded in UTF-7). Since it is not the case with a Cyrus server, I created a new variable available in the sogo.conf that let you specified the type of encoding you need. By default the encoding is set to UTF-7. ex : SOGoFolderEncoding = 'UTF-7'

This commit is contained in:
Alexandre Cloutier
2014-03-05 12:31:27 -05:00
parent 31ace947cb
commit e7a16cba0d
6 changed files with 21 additions and 1 deletions
+7
View File
@@ -28,6 +28,7 @@
#import <SOGo/NSString+Utilities.h>
#import <SOGo/SOGoUser.h>
#import <SOGo/SOGoUserDefaults.h>
#import <SOGo/SOGoSystemDefaults.h>
#import <SOGoUI/UIxComponent.h>
@@ -35,6 +36,7 @@
{
NSString *filterId;
NSDictionary *labels;
NSString *folderEncoding;
}
@end
@@ -112,4 +114,9 @@
return [labels jsonRepresentation];
}
- (NSString *) folderEncoding
{
return [[SOGoSystemDefaults sharedSystemDefaults] folderEncoding];
}
@end