In Python, I opened a file using the iso-8859-1
encoding. This file is huge, and I'm trying to find the right encoding. I know that it decoded the word fröhliche as fröhliche. Knowing this, is there a way to find the right encoding? I've tried utf-8 and it's unable to decode the file.
Asked
Active
Viewed 30 times
0

Filipe Aleixo
- 3,924
- 3
- 41
- 74
-
What do you mean by the "right encoding"? – cs95 Aug 15 '17 at 13:20
-
2Possible duplicate of [Determine the encoding of text in Python](https://stackoverflow.com/questions/436220/determine-the-encoding-of-text-in-python) – Aran-Fey Aug 15 '17 at 13:22