diff options
| author | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2006-02-06 03:46:11 +0000 |
|---|---|---|
| committer | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2006-02-06 03:46:11 +0000 |
| commit | 8fab29749341ae4ffd781aa5c6391b41b66ebeab (patch) | |
| tree | fa08146bb734e2c6f797bcf3a7302bcd3f88d3e4 /FAQ.txt | |
| parent | 88ca0c961e1b02582d86f8bc5cc98aa60c20e1bc (diff) | |
| download | docutils-8fab29749341ae4ffd781aa5c6391b41b66ebeab.tar.gz | |
elaboration on output encodings
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4336 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'FAQ.txt')
| -rw-r--r-- | FAQ.txt | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -923,8 +923,10 @@ The encoding of the output is set to "utf-8", but your browswer isn't recognizing that. You can either try to fix your browser (enable "UTF-8 character set", sometimes called "Unicode"), or choose a different encoding for the HTML output. You can also try -``--output-encoding=ascii:xmlcharrefreplace`` for HTML (not applicable -to non-XMLish outputs). +``--output-encoding=ascii:xmlcharrefreplace`` for HTML or XML, but not +applicable to non-XMLish outputs (if using runtime +settings/configuration files, use ``output_encoding=ascii`` and +``output_encoding_error_handler=xmlcharrefreplace``). If you're generating document fragments, the "Content-Type" metadata (between the HTML ``<head>`` and ``</head>`` tags) must agree with the |
