diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index d99abbea90a51..8ad86fd0a0dce 100644 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -325,6 +325,11 @@ Encoding to use for UTF when reading/writing (ex. 'utf-8'). `List of Python standard encodings `_ . + .. versionchanged:: 1.2 + + When ``encoding`` is ``None``, ``errors="replace"`` is passed to + ``open()``. Otherwise, ``errors="strict"`` is passed to ``open()``. + This behavior was previously only the case for ``engine="python"``. dialect : str or csv.Dialect, optional If provided, this parameter will override values (default or not) for the following parameters: `delimiter`, `doublequote`, `escapechar`,