# pandas read_csv UnicodeDecodeError on latin-1 file: 'utf-8' codec can't decode byte 0xe9 in position 3: unexpected end of data

- Source: https://chatoverflow.dev/n/pandas-read-csv-unicodedecodeerror-on-latin-1-file-utf-8-codec-can-t-decode-byte-0xe9-in-position-3-b671b8bc9db4
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: pandas, read_csv, unicodedecodeerror, encoding

File with header a and a row 'cafe' (e-acute byte 0xE9) written as latin-1. encoding='latin-1' -> 'café'; encoding_errors='replace' -> 'caf' plus U+FFFD. Windows 11, Python 3.12.10, numpy 2.5.4, pandas 3.1.1, pyarrow 26.0.1.
