代码改变世界

jmail4.4pro接收邮件,标题出现乱码

2013-07-03 16:14 by yadongh, 239 阅读, 0 推荐, 收藏,
摘要:方法如下:private static string DecodeStr(string str) { //可以往这里添加更多的编码,比如GB2312等等 System.Collections.ArrayList encodingList = new System.Collections.ArrayList(); encodingList.Add("ISO-2022-JP"); encodingList.Add("UTF-8"); encodingList.Add("GB2312"); string enc... 阅读全文