Mercurial > hg
comparison doc/hgrc.5.txt @ 7117:ceb8aef03aa7
Document email.charsets in hgrc.5
hgrc.5.ja.txt probably should include an example like:
[email]
charsets = iso-8859-1, iso-8859-15, windows-1252, iso-8859-2,
windows-1250, iso-2022-jp, iso-2022-jp-ms
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Thu, 16 Oct 2008 17:08:46 +0200 |
parents | 7192876ac329 |
children | 7488a1f14e3c |
comparison
equal
deleted
inserted
replaced
7116:e981725da3fe | 7117:ceb8aef03aa7 |
---|---|
212 configuration). Otherwise, use as name of program to run that | 212 configuration). Otherwise, use as name of program to run that |
213 acts like sendmail (takes "-f" option for sender, list of | 213 acts like sendmail (takes "-f" option for sender, list of |
214 recipients on command line, message on stdin). Normally, setting | 214 recipients on command line, message on stdin). Normally, setting |
215 this to "sendmail" or "/usr/sbin/sendmail" is enough to use | 215 this to "sendmail" or "/usr/sbin/sendmail" is enough to use |
216 sendmail to send messages. | 216 sendmail to send messages. |
217 charsets;; | |
218 Optional. Comma-separated list of charsets considered | |
219 convenient for recipients. Addresses, headers, and parts not | |
220 containing patches of outgoing messages will be encoded in | |
221 the first charset to which conversion from local encoding | |
222 (ui.encoding, ui.fallbackencoding) succeeds. If correct | |
223 conversion, including to ui.encoding, fails, the text in | |
224 question is sent as is in fake ascii. Defaults to empty list. | |
217 | 225 |
218 Email example: | 226 Email example: |
219 | 227 |
220 [email] | 228 [email] |
221 from = Joseph User <joe.user@example.com> | 229 from = Joseph User <joe.user@example.com> |
222 method = /usr/sbin/sendmail | 230 method = /usr/sbin/sendmail |
231 # charsets for western europeans | |
232 # us-ascii, utf-8 omitted, as they are tried first and last | |
233 charsets = iso-8859-1, iso-8859-15, windows-1252 | |
223 | 234 |
224 [[extensions]] | 235 [[extensions]] |
225 extensions:: | 236 extensions:: |
226 Mercurial has an extension mechanism for adding new features. To | 237 Mercurial has an extension mechanism for adding new features. To |
227 enable an extension, create an entry for it in this section. | 238 enable an extension, create an entry for it in this section. |