summaryrefslogtreecommitdiff
path: root/doc/markup/code.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/markup/code.rst')
-rw-r--r--doc/markup/code.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/markup/code.rst b/doc/markup/code.rst
index cf70be27..299ab0bc 100644
--- a/doc/markup/code.rst
+++ b/doc/markup/code.rst
@@ -106,8 +106,9 @@ Includes
:language: ruby
:linenos:
- Include files are assumed to be encoded in UTF-8. If the file has a different
- encoding, you can specify it with the ``encoding`` option::
+ Include files are assumed to be encoded in the :confval:`source_encoding`.
+ If the file has a different encoding, you can specify it with the
+ ``encoding`` option::
.. literalinclude:: example.py
:encoding: latin-1