SyntaxError: encoding problem: with BOM

NoName zaz600 at gmail.com
Wed Dec 24 04:46:30 EST 2008


i have 1.py in cp866 encoding:

# -*- coding: cp866 -*-
print ("ff")



It's not work in Python 3.0
Error:

File "<decoding error>", line 1
SyntaxError: encoding problem: with BOM

what's wrong?



More information about the Python-list mailing list