Eclipse/PyDev - BOM Lexical Error

2010-10-04 Thread TheOne
Hi. I installed eclipse/pydev today. I created a pydev project and added python source files with utf-8 BOM. Eclipse/Pydev reports lexical error : Lexical error at line 1, column 1. Encountered: "\ufeff" (65279), after : "" I want the source files to have BOM character. How could I shut off thi

Re: Eclipse/PyDev - BOM Lexical Error

2010-10-04 Thread TheOne
On Oct 4, 9:26 pm, de...@web.de (Diez B. Roggisch) wrote: > TheOne writes: > > Hi. > > > I installed eclipse/pydev today. > > I created a pydev project and added python source files with utf-8 > > BOM. > > Eclipse/Pydev reports lexical error : > >   Lexi

Re: Eclipse/PyDev - BOM Lexical Error

2010-10-05 Thread TheOne
On Oct 5, 5:10 pm, de...@web.de (Diez B. Roggisch) wrote: > Lawrence D'Oliveiro writes: > > In message > > , 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?