Prev: Reading a binary file and wrtiting the bytes verbatim in an utf-8 file
Next: python 2.6 py2exe wx app fails
From: fab on 23 Apr 2010 12:55
Thanks, I'll try this.
> I have no idea how you'd go about reading the contents of such a file
> in a sensible way.
The purpose is to embed PNG pictures in an RTF file that will be read
by OpenOffice. It seems that OpenOffice reads RTF in 8-bit, so it
should be ok.
The RTF is produced from a TeX source file encoded in UTF-8, that's
why I mix unicode and 8-bit.