Eclipse/PyDev - BOM Lexical Error
Diez B. Roggisch
deets at web.de
Tue Oct 5 14:37:12 CEST 2010
Lawrence D'Oliveiro <ldo at geek-central.gen.new_zealand> writes:
> In message
> <2752e2e4-76fe-475a-a476-e5458bbfdf74 at z30g2000prg.googlegroups.com>, TheOne
>> Anyway, it would be great if I could make my eclipse/pydev to
>> understand the BOM character and suppress the lexical error msg.
> What exactly is the point of a BOM in a UTF-8-encoded file?
It's a marker like the "coding: utf-8" in python-files. It tells the
software aware of it that the content is UTF-8. Naming it "BOM" is
obviously stupid, but that's the way it is called.
More information about the Python-list