Re: Foreign Character Problems In Python 2.5 and Tkinter

2007-10-13 Thread Janne Tuukkanen
Juha S. kirjoitti: > problem is that when I try to save its contents to a .txt file, any > Scandinavian letters such as "äöå ÄÖÅ" are saved incorrectly and show up > as a mess when I open the .txt file in Windows Notepad. > > It seems that the characters will only get mixed if the user has typed

Re: Foreign Character Problems In Python 2.5 and Tkinter

2007-10-13 Thread Janne Tuukkanen
Sat, 13 Oct 2007 16:13:21 +0300, Juha S. kirjoitti: > Thanks for the reply. I made changes to my code according to your > example. Now any Scandinavian characters that are outputted by the > program are missing in the Tk text box. > file = codecs.open(filename, 'r', 'utf-8', 'ignor