You can override the encoding using the `encoding` lexer option. If you have the
`chardet`_ library installed and set the encoding to ``chardet`` if will ananlyse
-the text and
fetch the best encoding automatically:
+the text and automatically:
This is the case for all regular files and for terminals.
Note: The Terminal formatter tries to be smart: if its output stream has an
-`encoding` attribute, it will encode any Unicode string with this encoding
+`encoding` attribute, and you haven't set the option,
+it will encode any Unicode string with this encoding
before writing it. This is the case for `sys.stdout`, for example. The other
formatters don't have that behavior.