Detect charset and convert to utf-8 in Python? [duplicate] August 21, 2023 by Tarik You want to use chardet, an encoding detector