Re: unknown encoding problem

2005-04-08 Thread John Machin
On Fri, 08 Apr 2005 15:45:35 +0200, Uwe Mayer <[EMAIL PROTECTED]> wrote: >Hi, > >I need to read in a text file which seems to be stored in some unknown >encoding. Opening and reading the files content returns: > f.read() >'\x00 \x00 \x00<\x00l\x00o\x00g\x00E\x00n\x00t\x00r\x00y\x00... > >Each

Re: unknown encoding problem

2005-04-08 Thread Leif K-Brooks
Uwe Mayer wrote: Hi, I need to read in a text file which seems to be stored in some unknown encoding. Opening and reading the files content returns: f.read() '\x00 \x00 \x00<\x00l\x00o\x00g\x00E\x00n\x00t\x00r\x00y\x00... Each character has a \x00 prepended to it. I suspect its some kind of unicod

Re: unknown encoding problem

2005-04-08 Thread Peter Otten
Uwe Mayer wrote: > I need to read in a text file which seems to be stored in some unknown > encoding. Opening and reading the files content returns: > f.read() > '\x00 \x00 \x00<\x00l\x00o\x00g\x00E\x00n\x00t\x00r\x00y\x00... > > Each character has a \x00 prepended to it. I suspect its some