diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2023-04-28 21:26:36 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2023-04-28 21:26:36 +0000 |
| commit | c9c4e3598dd04853fc82c9c66bc993d8741a5710 (patch) | |
| tree | dcefc414af37c4c23ddd2a805512770528b0464a /docs/api | |
| parent | de132e1969e107acc8c2ddfa49007343b2e7f1c0 (diff) | |
| download | docutils-c9c4e3598dd04853fc82c9c66bc993d8741a5710.tar.gz | |
Add output encoding error handler to the parts provided by all writers.
The new generic part "errors" returned by default
contains the `output_encoding_error_handler` setting,
which may make-or-break encoding ``parts['whole']``.
Allows use of `core.publish_parts()` to get the document as `str`,
post-process it and encode with user configurated encoding and
encoding-error handler.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9368 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docs/api')
| -rw-r--r-- | docs/api/publisher.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/api/publisher.txt b/docs/api/publisher.txt index 4d725e62c..3ff5c4e6c 100644 --- a/docs/api/publisher.txt +++ b/docs/api/publisher.txt @@ -140,7 +140,10 @@ Parts Provided By All Writers ````````````````````````````` _`encoding` - The output encoding setting. + The `output_encoding`_ setting. + +_`errors` + The `output_encoding_error_handler`_ setting. _`version` The version of Docutils used. |
