removing BOM prepended by codecs?

Dave Angel davea at davea.name
Wed Sep 25 06:54:15 EDT 2013


On 25/9/2013 06:38, J. Bagg wrote:

> So it is just a random sequence of "junk".
>
> It will be a matter of finding the real start of the record (in this 
> case a %) and throwing the "junk" away.

Please join the list.  Your present habit of starting a new thread for
each of your messages is getting old.


You still need to find the source of the "junk" if you want anything
approaching reliability.

The open() call you showed in one of the other four threads had a
"append" mode.  Is it possible that you're "creating" a file without
deleting pre-existing junk?


-- 
DaveA





More information about the Python-list mailing list