How does mutt choose charset encoding when sending messages?
- To: mutt-users@xxxxxxxx
- Subject: How does mutt choose charset encoding when sending messages?
- From: Kai Wang <kaiwang27@xxxxxxxxx>
- Date: Mon, 20 Mar 2006 21:06:32 +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=j64yFjjxqUPTS5ywAlMvWNosfL0nveaS30IFDhm23ECbNn/Y+PUKoeOzN5cSJBFGA79TzGOuks/wrdfwG/M/qhu3LAR3CDb2VriAZmrBfU1fhBMcNQVG4uMLDZsIygfS8wgDRMUDwXZ9SyAc6dFCX7Ru4l7VZhTS0bM6r2M3S0c=
- 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?
Thank you for your time.
Kai