SyntaxError: encoding problem: with BOM

NoName zaz600 at gmail.com
Thu Dec 25 14:55:16 CET 2008


> NoName, Asking people to download a zip file from a website written in
> a language and character set that they probably are not familiar with
> is liable to make them rather nervous and not bother. It's not a good
> way to ask for help.

sorry:)

Now i know where problem.
But i dont know how to solve it.

Error
----
C:\Documents and Settings\Ra\Рабочий стол>11.py
  File "<decoding error>", line 1
SyntaxError: encoding problem: with BOM

No error
----
C:\Documents and Settings\Ra\Рабочий стол>python 11.py
test

Error when russian symbols in full path to py-script.
Is it Python bug? or i need to modify some registry keys?

OS: WinXP SP3 Russian.
Python 3.0 (r30:67507, Dec  3 2008, 20:14:27) [MSC v.1500 32 bit
(Intel)] on win32





More information about the Python-list mailing list