May-18-2021, 08:58 AM
you need to know the file encoding.
Though not foolproof, you can usually find it with chardet: https://pypi.org/project/chardet/
Though not foolproof, you can usually find it with chardet: https://pypi.org/project/chardet/