Re: [Tkinter-discuss] OT: Unicode

2014-03-22 Thread Michael O'Donnell
Dear Cam, Python 3 is so much better at dealing with unicode than Python 2. But, that said. Your file is in an encoding that is not latin-1 (which is basically an anglo encoding, no good if your text has inflections/accents). Solution: 1. Open your text file in a browser 2. If the file disp

Re: [Tkinter-discuss] OT: Unicode

2014-03-22 Thread Bob van der Poel
You might also have luck with encoding='cp1252'. This is the "standard" set for windows characters. On Sat, Mar 22, 2014 at 12:52 AM, Michael O'Donnell wrote: > Dear Cam, > >Python 3 is so much better at dealing with unicode than > Python 2. > > But, that said. Your file is in an encoding > t