First time here? Check out the FAQ!

Revision history  [back]

Why is preferred encoding ascii in wingdb?

I'm running Python3 in Wing Pro 6.0.4-1 on OS X, and I've noticed that locale.getpreferredencoding() returns 'US-ASCII' when run from within Wing (sys.executable == '/Applications/WingIDE.app/Contents/Resources/wingdb').

When I run from within the terminal locale.getpreferredencoding() returns 'UTF-8', as I'd expect. 

Why is this? Is there a way to configure Wing to use UTF-8?

I discovered this because the click package complains when I try to execute a package that uses it in wing.

Why is preferred encoding ascii in wingdb?

I'm running Python3 in Wing Pro 6.0.4-1 on OS X, and I've noticed that locale.getpreferredencoding() returns 'US-ASCII' when run from within Wing (sys.executable == '/Applications/WingIDE.app/Contents/Resources/wingdb').

When I run from within the terminal locale.getpreferredencoding() returns 'UTF-8', as I'd expect. 

Why is this? Is there a way to configure Wing to use UTF-8?

I discovered this because the click package complains when I try to execute a package that uses it in wing.

Why is preferred encoding ascii in wingdb?

I'm running Python3 in Wing Pro 6.0.4-1 on OS X, and I've noticed that locale.getpreferredencoding() returns 'US-ASCII' when run from within Wing (sys.executable == '/Applications/WingIDE.app/Contents/Resources/wingdb').

When I run from within the terminal locale.getpreferredencoding() returns 'UTF-8', as I'd expect. 

expect.    Why is this? Is there a way to configure Wing to use UTF-8?

UTF-8?   I discovered this because the click package complains when I try to execute a package that uses it in wing.wing.