Eclipse/PyDev - BOM Lexical Error

TheOne daewon.yoon at gmail.com
Tue Oct 5 05:13:05 EDT 2010


On Oct 5, 5:10 pm, de... at web.de (Diez B. Roggisch) wrote:
> Lawrence D'Oliveiro <l... at geek-central.gen.new_zealand> writes:
> > In message
> > <a6080839-c74d-4466-aa21-f8c4827cb... 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

I didn't know that it's a MS-thing. (Is it really?)
Anyway, it would be great if I could make my eclipse/pydev to
understand the BOM character and suppress the lexical error msg.

--
Daewon YOON




More information about the Python-list mailing list