>>txt = u"ähnlicher als gewöhnlich üblich" >>import codecs >>codecs.open("tmp.txt", "w", "utf8").write(txt) >>codecs.open("tmp.txt", "r", "utf8").read()