summaryrefslogtreecommitdiff
path: root/docs/user
diff options
context:
space:
mode:
authorgoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2004-09-12 21:18:45 +0000
committergoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2004-09-12 21:18:45 +0000
commit439e10c3dc34a84fe174a288bfbefd7491c9f070 (patch)
treea43f5380f232439981aac9965f93fc13bd4698e3 /docs/user
parent1a6a5138cc6fe3ede8e5ef7f6ff62cbb9e064128 (diff)
downloaddocutils-439e10c3dc34a84fe174a288bfbefd7491c9f070.tar.gz
updated
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2594 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docs/user')
-rw-r--r--docs/user/config.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/user/config.txt b/docs/user/config.txt
index 98fa32cac..776e8cbdd 100644
--- a/docs/user/config.txt
+++ b/docs/user/config.txt
@@ -254,6 +254,25 @@ _`input_encoding`
Default: auto-detect (None). Options: ``--input-encoding, -i``.
+_`input_encoding_error_handler`
+ The error handler for undecodable characters in the input.
+ Acceptable values include:
+
+ strict
+ Raise an exception in case of an encoding error.
+ replace
+ Replace malformed data with the official Unicode replacement
+ character, U+FFFD.
+ ignore
+ Ignore malformed data and continue without further notice.
+
+ Acceptable values are the same as for the "error" parameter of
+ Python's ``unicode`` function; other values may be defined in
+ applications or in future versions of Python.
+
+ Default: "strict". Options: ``--input-encoding-error-handler,
+ --input-encoding, -i``.
+
_`language_code`
`ISO 639`_ 2-letter language code (3-letter codes used only if no
2-letter code exists).