Can you safely read utf8 and latin1 files with a naïve try-except block?
Can you safely read utf8 and latin1 files with a naïve try-except block? Question: I believe that any valid latin1 character will either be interpreted correctly by Python’s utf8 encoder or throw an error. I, therefore, claim that if you work with only either utf8 files or latin1 files, you can safely write the following …