MailCore / mailcore2

MailCore 2 provide a simple and asynchronous API to work with e-mail protocols IMAP, POP and SMTP. The API has been redesigned from ground up.
Other
2.6k stars 623 forks source link

Chinese wrong #1878

Open borisyue opened 4 years ago

borisyue commented 4 years ago

I have a QQ mail. I found the subject is encoded mistake. in Mac sample project the origin char is "=?GBK?B?wLTX1HFxLmNvbbXEzcvQxQ==?=" by "mailmime_encoded_phrase_parse" function, the decoded is "来自qq.com的退信" it is stored into mailcore::string object. it convert to NSString. MCOImapMessage.header.subject show the "À´×Ôqq.comµÄÍËÐÅ"

how to solve it?

lyluoyuan commented 3 years ago

Same question. Any solution?

dinhvh commented 3 years ago

Could you show the code you used to get the MCOImapMessage? Did you use IMAPMessagesRequestKindFullHeaders?

keepfocusontechnology commented 3 years ago

In Android platform I meet the same question, if my mail content contains Chinese,The ImapMessage just show the empty word.plz help me.

gnmmdk commented 1 year ago

In Android platform I meet the same question, if my mail content contains Chinese,The ImapMessage just show the empty word.plz help me.

Same question. Any solution?