I have a piece of python code that extracts some data from a website. That informations contains some characters that are used in Sweden like 'Å''Ä''Ö'. Now i use pickle to dump that information to a textFile. The information in that textFile is later used for something else so i have two problems that are related here. I will explain both that will make you understand it better:
1) When i try to edit the textFile through PythonAnywhere i get the error message
PythonAnywhere editor only recognises ASCII or UTF 8-encoded text
2) When i use the information from the textFile later in the Python code i get this error message:
KeyError: u'Div 3 Mellersta G\xcb\x86taland, herrar'
Its that extra "u" in the start that messes up things. How could i possibly fix this?
Thank You