Skip to content
Advertisement

Tag: utf8-decode

Problems with decoding from command prompt [python]

I have the following problem. I have a german text saved in .txt UTF-8 format, and I’d like to print it out with python. Here’s my code: It works perfectly in IDLE, but when I save my code and run it from the command prompt, it raises error, specifically: In my particular case, the text is “gemäßigt”, and in the

Advertisement