python2 interpreter.....
anyone know how to make the python2 command line interpreter understand the swedish letters å,ä,ö
when this program is compiled it prints funny characters instead of the ones it should write...
#!/usr/bin/python2
def test():
text='åäö'
lista=''
for x in text:
lista=lista +x
return lista
if __name__=='__main__':
test()
|