[wingide-users] Patch for 'coding' comment bug

Stephan Deibel sdeibel at wingware.com
Fri Dec 10 18:41:13 EST 2004


Wing 2.0.1 does not properly recognize the standard form of the
'coding' comment used in Python files to specify the file's
text encoding when the leading "-*-" is present:

# -*- coding: <encoding name> -*-

(this is on the first or second line of the file; details in
PEP 263: http://www.python.org/peps/pep-0263.html)

Patch #1 on the following page fixes this:


This patch should be unpacked into the Wing installation.  In 
WinZip, make sure you leave the Use Folder Names option checked 
so that files are placed correctly in the hierarchy.

Stephan Deibel

Wing IDE for Python
Advancing Software Development


More information about the wingide-users mailing list