Author me21
Recipients Dmitry.Jemerov, Hugo.Lol, Roman.Evstifeev, Suzumizaki, Vladimir Iofik, aclover, adamhj, brian.curtin, eric.araujo, frankoid, kaizhu, me21, r.david.murray, shimizukawa, tim.golden, vldmit, vstinner
Date 2013-12-26.14:23:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1388067803.23.0.267961588614.issue9291@psf.upfronthosting.co.za>
In-reply-to
Content
An alternative solution, which worked for me, is:
add file named sitecustomize.py in Lib\site-packages folder.

The contents of the file:
import sys
sys.setdefaultencoding("cp1251")

The default encoding should be determined for every localized Windows version.
Also, when creating virtual environments, the same file should be placed in site-packages folder of virtual environment being created prior to installing setuptools in it.
History
Date User Action Args
2013-12-26 14:23:23me21setrecipients: + me21, vstinner, tim.golden, eric.araujo, kaizhu, aclover, r.david.murray, brian.curtin, Suzumizaki, frankoid, Dmitry.Jemerov, shimizukawa, vldmit, Vladimir Iofik, Roman.Evstifeev, adamhj, Hugo.Lol
2013-12-26 14:23:23me21setmessageid: <1388067803.23.0.267961588614.issue9291@psf.upfronthosting.co.za>
2013-12-26 14:23:23me21linkissue9291 messages
2013-12-26 14:23:22me21create