I want to read a file that contains also German and not only characters. I found that i can do like this
>>> import codecs
>>> file = codecs.open('file.txt','r', encoding='UTF-8')
>>> lines= file.readlines()
This is working when i try to run my job in Python IDLE but when i try to run it from somewhere else does not give correct result. Have a idea?