Python BOM error in Ascii file
- by Intosia
I have a wierd annoying problem with Python 2.6
I trying to run this file (and the other), on my Embedded Linux ARM board.
http://svn.tuxisalive.com/software_suite_v3/smart-core/smart-server/trunk/TDSService.py
I get this error
File "tuxhttpserver.py", line 1
SyntaxError: encoding problem: with
BOM
I know that error is about the BOM bytes etc etc. BUT, there are NO BOM bytes, its plain Ascii. I checked with a Hexeditor, and the linux File command says its Ascii.
Im freaking out here... The code worked fine on my Sheevaplug (also a ARM based system).