PyCharm3 editor not PEP 263 compliant as does not recognize source encoding comment when on second line
To define a source code encoding, a magic comment must
be placed into the source files either as first or second
line in the file, such as:
# coding=<encoding name>
PyCharm marks the first character of the file and hovering says "No encoding specified for file".
Running Inspect Code does correctly handle detecting the coding comment as the second line.
I know, a minor nit, but it keeps my files yellow instead of green. ;-)
Could you please file a YouTrack issue about the problem?
Dmitry Jemerov, Chief Technology Officer, JetBrains
Working directly on remote project via ssh?
'Send to Maya' function
Build #178 (Dec/17/2014 3:47PM)