summaryrefslogtreecommitdiff
path: root/doc/docs/lexers.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/docs/lexers.rst')
-rw-r--r--doc/docs/lexers.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/docs/lexers.rst b/doc/docs/lexers.rst
index 914b53ef..fefc940e 100644
--- a/doc/docs/lexers.rst
+++ b/doc/docs/lexers.rst
@@ -27,7 +27,7 @@ Currently, **all lexers** support these options:
`encoding`
If given, must be an encoding name (such as ``"utf-8"``). This encoding
will be used to convert the input string to Unicode (if it is not already
- a Unicode string). The default is ``"latin1"``.
+ a Unicode string). The default is ``"guess"``.
If this option is set to ``"guess"``, a simple UTF-8 vs. Latin-1
detection is used, if it is set to ``"chardet"``, the