asweigart / PyGetWindow

A simple, cross-platform module for obtaining GUI information on applications' windows.
BSD 3-Clause "New" or "Revised" License
362 stars 69 forks source link

setup.py: explictly assign encoding to "utf-8" to aviod encoding problem #7

Closed aweffr closed 4 years ago

aweffr commented 5 years ago

In china, Windows's default charset is set as "GBK", not "utf-8". So chinese developers will face issues that we cannot install this package through pip. I just tried to clone the repo, and after this one line change, I succeed to install the package ;)

Target Issue: https://github.com/asweigart/PyGetWindow/issues/2

lukaszgo1 commented 5 years ago

Doing this unfortunately broke installation under Python 2 :-(

asweigart commented 4 years ago

Thanks for pointing this out. While I haven't used your code, I have been able to fix this and I'll add you to the authors.txt file. Thanks!