When I move or copy a mail to another folder,I do this :
BOOL success=[thisFolder moveMessageWithUID:uid toPath:@"已删除"];
or [copyMessageWithUID:uid toPath:@"已删除"]
It logged:the error as the title.
Note:the parameter for toPath is a chinese string.
Could anyone help me~
hi,wongk.thank you for your answer.However,when I use other methods such as :folder=[account folderWithPath:path],the 'path' also is a chinese string.It works well.More,the source code of
-(BOOL)moveMessageWithUID:(NSUInteger)uid toPath:(NSStrinf *)path
const char *mbPath=[path cStringUsingEncoding:NSUTF8StringEncoding];
What does this mean?And How can I solve this problem?
Hi,wongk,thank you very much.According to your suggestion,I have solve my problem.just add: [self getUTF7String:mbPath fromString:path] into the methods of moveMessageWithUID:toPath: and copyMessageWithUID:toPath:,in purpose of convert the string into UTF7String.thanks again.
Fix problem with Chinese folder names not working with move/copy. Fixes