On Wed, 15 Jun 2011, Christian Brabandt wrote:

On Wed, June 15, 2011 3:38 pm, Erik Christiansen wrote:
So the post should be leaving Vim as utf-8.
OK, is mutt changing that to ISO-8859-1 behind the scenes?:

Yes.  Alpine also does this by default.


:r !grep char ~/.muttrc         # shows us:

...shows us what you've explicitly set.  Use:

mutt -Q send_charset
-Q = query a configuration variable

On my system (no ~/.muttrc), it returns:
send_charset="us-ascii:iso-8859-1:utf-8"


As Christian explained, mutt will:

use the first encoding in which the message "fits".


The comments in /etc/Muttrc expand on "fits":

# Mutt will use the first character set into which the text can be # converted exactly.

If I used mutt, I'd set it explicitly to send_charset="utf-8"

--
Best,
Ben

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to