<<< Date Index >>>     <<< Thread Index >>>

Re: w3m can't show html mail with charset: gb2312



I always work in Chinese. 

I don't know what w3m is, is it a html viewer?

I can't work well with lynx neither, the characters also go to garbled
on my screen. Some one with the locale as zh_CN.GBK can see it properly.
But I prefer the UTF-8 locale, thus, I just abandoned lynx and started to
use firefox to read the html styled messages. In it, just select the
correct code system(gbk, gb2312, or gb18030), then it will work.

On Tue, Jul 19, 2005 at 10:05:29PM +0800, phyrster@xxxxxxxxx wrote:
> Hi, 
> 
> I am using mutt 1.5.9i in a debian sarge system. 
> My locale: is en_US.UTF-8. 
> 
> When I receive html messages with charset:gb2312, the body of the message can
> not be correctly displayed. All chinese words appear garbled. The message
> subject and English words, though, are shown correctly. 
> 
> Here is my configuration of .mailcap: 
> 
> text/html; w3m -T text/html -dump %s; copiousoutput
> 
> I also tried this line: 
> 
> text/html; w3m -T text/html -O utf-8 -dump %s; copiousoutput
> 
> Still no avail. 
> 
> Then I turned to lynx and added this line to mailcap:
> 
> text/html; lynx --dump %s; nametemplate=%s.html; copiousoutput
> 
> This time the messages are not garbled but turned into something like: 
> 
> \234\341\5\233
> 
> Could any multi-lingual users tell me how to fix this?
> 
> 
> regards, 
> 
> 
> bxuef