How does mutt choose charset when sending message?
- To: mutt-users@xxxxxxxx
- Subject: How does mutt choose charset when sending message?
- From: Kai Wang <kaiwang27@xxxxxxxxx>
- Date: Mon, 20 Mar 2006 10:46:37 +0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:user-agent; b=o6hxYUYSCuJPg+R2DtZYdWnPNKDajrSQEmmETPRDtxm0PzT1a2eUVWpk19Mo4XnguXNCpqY93wLnlwxpmfzhAUWYYN5Kc8Wq7EQnoesE8jbKyzAnePAzYx9HCdkvkFqVLvgTFVPCzFjBBlxcyN4N0PQ6iOVwet2Sary54sL1sDI=
- List-unsubscribe: <mailto:mutt-users-request@mutt.org?body=unsubscribe>
- Mail-followup-to: mutt-users@xxxxxxxx
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.11
Hi there!
I've got totally confused about how mutt choose charset when sending messages.
My locale and terminal is set to gb2312 charset(it is for chinese character)
But sometime I also need writing messages in Swedish.
I include this line 'set send_charset="iso-8859-1:us-ascii:utf-8"'
in my .muttrc file in order to send a message containing Swedish(iso8859-1)
chars like 'small a with umlaut mark'.
When I compose those messages I save the file in iso8859-1 charset in the
editor(emacs).
However, mutt still choose gb2312 charset for the message to send.
It seems that in this situation mutt completely ignored the "send_charset"
variable?
Why did this happen?
regards
Kai