Re: [Tutor] Unicode question

2007-09-12 Thread János Juhász
Dear Kent, thanks for your respond. It is clear now. > As a mnemonic I think of Unicode as pure unencoded data. (This is *not* > accurate, it is a memory aid!) Then it's easy to remember that decode() > removes encoding == convert to Unicode, encode() adds encoding == > convert from Unicode. So

Re: [Tutor] Unicode question

2007-09-11 Thread Kent Johnson
János Juhász wrote: > Dear All, > > I would like to convert my DOS txt file into pdf with reportlab. > The file can be seen correctly in Central European (DOS) encoding in > Explorer. > > My winxp uses cp852 as default codepage. > > When I open the txt file in notepad and set OEM/DOS script for

[Tutor] Unicode question

2007-09-11 Thread János Juhász
Dear All, I would like to convert my DOS txt file into pdf with reportlab. The file can be seen correctly in Central European (DOS) encoding in Explorer. My winxp uses cp852 as default codepage. When I open the txt file in notepad and set OEM/DOS script for terminal fonts, it shows the file co