fun with unicode files

Roger Binns rogerb at
Tue Aug 24 19:17:29 CEST 2004

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:


More information about the Python-list mailing list