Eclipse/PyDev - BOM Lexical Error

Diez B. Roggisch deets at web.de
Tue Oct 5 04:10:15 EDT 2010


Lawrence D'Oliveiro <ldo at geek-central.gen.new_zealand> writes:

> In message
> <a6080839-c74d-4466-aa21-f8c4827cb775 at y12g2000prb.googlegroups.com>, TheOne 
> wrote:
>
>> I want the source files to have BOM character.
>
> What exactly is the point of a BOM in a UTF-8-encoded file?

It's a MS-specific thing that makes a file identifieable as
UTF-8-encoded under windows. The name BOM is obviously BS, but it's the
way it is.

Diez



More information about the Python-list mailing list