Need help on UNICODE conversion
Martin v. Löwis
martin at v.loewis.de
Sat Sep 6 17:07:32 EDT 2003
Bernd Preusing <b.preusing at web.de> writes:
> After reading in the string with s=file.read(70) from file offest 4
> I get a string which is shown as
> 'UNICODE\\0x00\\ox00K\\0x00o' and so forth in the debugger
> (using Komodo).
Can you find out what the real value of that string is? I very much
doubt that it contains literal backslashes. Also, I find it strange
that it has the letter 'o' after one backslash, but the number '0'
after all other bacskslashes.
Regards,
Martin
More information about the Python-list
mailing list