Add documentation for charset encoding options
authorMatt Mackall <mpm@selenic.com>
Sun, 03 Dec 2006 16:16:33 -0600
changeset 3775 6859d049ed9c
parent 3774 a88e02081a88
child 3776 037824e6d362
Add documentation for charset encoding options
doc/hg.1.txt
--- a/doc/hg.1.txt	Sun Dec 03 16:16:33 2006 -0600
+++ b/doc/hg.1.txt	Sun Dec 03 16:16:33 2006 -0600
@@ -172,6 +172,20 @@
 
     (deprecated, use .hgrc)
 
+HGENCODING::
+    This overrides the default locale setting detected by Mercurial.
+    This setting is used to convert data including usernames,
+    changeset descriptions, tag names, and branches. This setting can
+    be overridden with the --encoding command-line option.
+
+HGENCODINGMODE::
+    This sets Mercurial's behavior for handling unknown characters
+    while transcoding user inputs. The default is "strict", which
+    causes Mercurial to abort if it can't translate a character. Other
+    settings include "replace", which replaces unknown characters, and
+    "ignore", which drops them. This setting can be overridden with
+    the --encodingmode command-line option.
+
 HGMERGE::
     An executable to use for resolving merge conflicts. The program
     will be executed with three arguments: local file, remote file,