Message206938
| 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:23 | me21 | set | recipients:
+ 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:23 | me21 | set | messageid: <1388067803.23.0.267961588614.issue9291@psf.upfronthosting.co.za> |
| 2013年12月26日 14:23:23 | me21 | link | issue9291 messages |
| 2013年12月26日 14:23:22 | me21 | create |
|