-
Notifications
You must be signed in to change notification settings - Fork 308
Open
Description
- setup.py
from setuptools import setup- windows 10> cmd
d:\> ipy setup.py install- Result
...
c:\program files\Ironpython 3.4\lib\site.py, line 162, in addpackage
...
c:\program fIles\IronPython 3.4\lib\site.py, line 564, in <module>
Lookuperror: unknown encoding: cp949- So, I modified code in site.py
def addpackage(sitedir, name, known_paths):
...
fullname = os.path.join(sitedir, name)
try:
f = open(fullname, "r") #occured error
#f = open(fullname, "r", encoding='utf8')- It was good working when I added encoding='utf8'
- It is possible to set setlocale to utf8 without modifying the library?
Metadata
Metadata
Assignees
Labels
No labels