LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1019|回复: 3

linuxsir的邮件为何用mutt看信时邮件头为乱码?

[复制链接]
发表于 2005-10-5 21:53:19 | 显示全部楼层 |阅读模式
这是列表中的一封信
  1.   30     07.05.05 LinuxSir.Org ??̳ (  26) ?ظ????? '?????ں?-utf8-fcitx-zhcon...һ????????????:)'
复制代码

这是信和邮件头

  1. From skald  Wed Oct  5 20:54:16 2005
  2. Received: from pop3.163.split.netease.com [202.108.9.195]
  3.         by localhost with POP3 (fetchmail-6.2.5)
  4.         for **@localhost (single-drop); Wed, 05 Oct 2005 20:54:16 +0000 (UTC)
  5. Received: from mail.linuxsir.cn.cn (unknown [211.93.98.22])
  6.         by mx10 (Coremail) with SMTP id OUBehYpxe0JihdwF.1
  7.         for <er@163.com>; Fri, 06 May 2005 21:30:51 +0800 (CST)
  8. X-Originating-IP: [211.93.98.22]
  9. Received: by mail.linuxsir.cn.cn (Postfix, from userid 99)
  10.         id 30E805CFFD; Fri,  6 May 2005 21:31:20 +0800 (CST)
  11. To: e**941@163.com
  12. Subject: \273&#1592;\264\314\373\327\323 '\261\340\322\353\304&#1722;\313-utf8-fcitx-zhcon...&#1211;\264\363\266\321\316\312\314\342\307\353\275\314:)'
  13. From: "LinuxSir.Org \302\333&#819;" <pandonny@linuxsir.cn>
  14. Message-ID: <200505061318.f9eda9797638@www.linuxsir.cn>
  15. X-Priority: 3
  16. X-Mailer: vBulletin Mail via PHP
  17. MIME-Version: 1.0
  18. Content-Type: text/plain; charset="GBK"
  19. Content-Transfer-Encoding: 8bit
  20. Date: Fri,  6 May 2005 21:31:20 +0800 (CST)
  21. Sender: nobody@mail.linuxsir.cn.cn
  22. Status: RO
  23. Content-Length: 712
  24. Lines: 28

  25. 您好 linuxcpp,

复制代码

这是我的.muttrc里的关于字体的配置

  1. charset-hook !utf-8 gbk

  2. charset-hook ^us-ascii$ gbk

  3. charset-hook ^iso-8859-1$ gbk

  4. charset-hook .* gbk

复制代码


我发现如果邮件头是Content-Type: text/plain; charset="GB2312"就能正常显示,而GBK的就不行
我还要加上一条什么样的charset-hook才行呢?
有没有兄弟有经验,贴一下你的.muttrc里的charset-hook呢?
谢谢
发表于 2005-10-5 23:00:31 | 显示全部楼层
试试:

  1. unset strict_mime
  2. set assumed_charset="gbk"
复制代码


还有,可以到mutt的mailing list请问问。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-5 23:29:44 | 显示全部楼层
谢谢
搞定
我试过
set assumed_charset="gbk"
但是没用
经兄弟提示加了一条
unset strict_mime
搞定了
我试过了
这两条少一条也不行
回复 支持 反对

使用道具 举报

发表于 2005-10-6 00:46:35 | 显示全部楼层
Post by linuxcpp
谢谢
搞定
我试过
set assumed_charset="gbk"
但是没用
经兄弟提示加了一条
unset strict_mime
搞定了
我试过了
这两条少一条也不行


嘿嘿,我说的本?砭褪橇教酢/color]

-----------------------

我喜欢蓝色
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表