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

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



 On Thursday, July 28, 2005 at 9:33:19 PM +0800, phyrster wrote:

> On 01:21 Thu 28 Jul     , Alain Bench wrote:
>> The year in attribution seems to lack.
> how to add it?

    That's "%Y" as in:

| set date_format="!%A, %B %-d, %Y at %-I:%M:%S %p %Z"
| set attribution="Hello %v,\n\n On %d, %n wrote:\n"


>> broken sending. Check your editor writes UTF-8 as per current locale.
> You mean I have to check whether vim actually saves file in UTF-8
> format in the current UTF-8 environment? How to tell a file is UTF-8
> encoded?

    The file command can try to guess:

| $ file textfile-*
| textfile-gb2312: ISO-8859 text
| textfile-utf-8:  UTF-8 Unicode text

    You can also cat it to an UTF-8 Konsole. And review vim settings.
Also what do you see in Mutt, and in editor when you quote this: "‰".
That's a GB2312 per mille sign (a percent % with a zero more).


Bye!    Alain.
-- 
Give your computer's unused idle processor cycles to a scientific goal:
The Folding@home project at <URL:http://folding.stanford.edu/>.