f1=open("mots.txt.out","w")
f2=open("definitions.txt.out","w")
f1.writelines([(i[0]+"\n").encode("utf8") for i in l])
-f2.writelines([i[1]+"\n" for i in l])
+f2.writelines([i[1].decode("utf8").replace(u"note",u"nøte").replace(u"Note",u"Nøte").encode("utf8")+"\n" for i in l])
f1.close()
f2.close()