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

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


Hi,

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:

http://wingware.com/downloads/wingide/2.0.1/patches

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

--
Wingware
Wing IDE for Python
Advancing Software Development

www.wingware.com


More information about the wingide-users mailing list