fun with unicode files

Thomas Heller theller at python.net
Tue Aug 24 21:08:10 CEST 2004


"Roger Binns" <rogerb at rogerbinns.com> writes:

> Thomas Heller wrote:
>> I wonder: do I really have to check for the BOM manually, or is there a
>> Python function which does that?
>
> It should be part of the standard library IMHO.
>
> Here is my own more complete implementation:
>
> http://www.bitpim.org/pyxr/c/projects/bitpim/common.py.html#0286
>
Ah, thanks.  It looks like I basically got it right, although your
solution is really more complete.

Thomas



More information about the Python-list mailing list