# HG changeset patch # User Christian Ebert # Date 1224669440 -7200 # Node ID 421f4cbddd6858dc8734560c4f53e5ca7ceade50 # Parent dac14cc9711e1f149e076dd347edf93ef1041314 hgrc.5: explain order of mail.charsets TODO: add mail.charsets section to hgrc.5.ja.txt diff -r dac14cc9711e -r 421f4cbddd68 doc/hgrc.5.txt --- a/doc/hgrc.5.txt Fri Oct 24 08:16:01 2008 +0200 +++ b/doc/hgrc.5.txt Wed Oct 22 11:57:20 2008 +0200 @@ -220,8 +220,16 @@ containing patches of outgoing messages will be encoded in the first charset to which conversion from local encoding (ui.encoding, ui.fallbackencoding) succeeds. If correct - conversion, including to ui.encoding, fails, the text in - question is sent as is in fake ascii. Defaults to empty list. + conversion fails, the text in question is sent as is. + Defaults to empty (explicit) list. + + Order of outgoing email charsets: + + us-ascii always first, regardless of settings + email.charsets in order given by user + ui.fallbackencoding if not in email.charsets + ui.encoding if not in email.charsets + utf-8 always last, regardless of settings Email example: