[wingide-users] encoding problem

Wingware Support support at wingware.com
Tue Jun 5 14:03:12 MDT 2012

brian downing wrote:
> for the coding I had |||# -*- coding: utf-8 -*-|||.  I added this after
> I reverted back.  Is that comment different from |||#coding:utf-8 |||?

There are various valid forms of this and I think this is equivalent.

> I got the problem fixed.  I changed the encoding back to cp1252,
> reverted the file, added the utf header, and set the encoding in wing to
> utf.

Glad that worked.  I'm guessing you're setting the Files > Default 
Encoding preference, which is not used if there's a valid coding comment.


Stephan Deibel
Wingware | Python IDE
Advancing Software Development


More information about the wingide-users mailing list