Open xichao520 opened 6 years ago
Android 官方提供的demo,获取到的邮件正文html字符串中文乱码
<br /> <br /> <p><span title="neteasefooter"> </span></p> </body> </html> </div>
Set html decoding to utf-8.
my code: webView.loadDataWithBaseURL(null, html, "text/html", "utf-8", null);
将html解码设置为utf-8。 我的代码:webView.loadDataWithBaseURL(null,html,“ text / html”,“ utf-8”,null);
将html解码设置为utf-8。
我的代码:webView.loadDataWithBaseURL(null,html,“ text / html”,“ utf-8”,null);
你好,你的乱码问题解决了吗?我最近也在android上使用mailcore2,发现邮件的主题解析不出来,邮件的正文是乱码,如果您有解决方案,烦请告知,感谢!
有解决这个问题嘛
没有解决,我现在用的方案是javamail+msilcore2一起配合使用,javamail的解析效率太低了,如果你有更好的解决方案,烦请告知
---原始邮件--- 发件人: "wuhanzhouguanjie"<notifications@github.com> 发送时间: 2020年1月3日(周五) 下午5:30 收件人: "MailCore/mailcore2"<mailcore2@noreply.github.com>; 抄送: "Comment"<comment@noreply.github.com>;"Alrict"<353296717@qq.com>; 主题: Re: [MailCore/mailcore2] 邮件正文乱码问题 (#1778)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
我这边邮件头的Date也没有正确显示。但是IMAPMessage..header().date() 取出来是有时间的。感觉Android上还是有挺多问题的。
同样的问题
Android 官方提供的demo,获取到的邮件正文html字符串中文乱码
Set html decoding to utf-8.
my code: webView.loadDataWithBaseURL(null, html, "text/html", "utf-8", null);
你好,你的乱码问题解决了吗?我最近也在android上使用mailcore2,发现邮件的主题解析不出来,邮件的正文是乱码,如果您有解决方案,烦请告知,感谢!
有解决这个问题嘛
没有解决,我现在用的方案是javamail+msilcore2一起配合使用,javamail的解析效率太低了,如果你有更好的解决方案,烦请告知
---原始邮件--- 发件人: "wuhanzhouguanjie"<notifications@github.com> 发送时间: 2020年1月3日(周五) 下午5:30 收件人: "MailCore/mailcore2"<mailcore2@noreply.github.com>; 抄送: "Comment"<comment@noreply.github.com>;"Alrict"<353296717@qq.com>; 主题: Re: [MailCore/mailcore2] 邮件正文乱码问题 (#1778)
有解决这个问题嘛
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
我这边邮件头的Date也没有正确显示。但是IMAPMessage..header().date() 取出来是有时间的。感觉Android上还是有挺多问题的。
同样的问题