-
Notifications
You must be signed in to change notification settings - Fork 18
Encoding issues with vcvarsall
#62
Comments
A few things (some of which are things for you to try and others of which are just notes for developers trying to fix this):
|
If you look at the snippet I provided, I am not decoding with
Yes, that's about what I did except that I used |
Fixed in 1c270d6. |
I know there is already #60 on encoding, but I don't think it's the same issue.
When I run
python unimake.py
, I get the following error:The issue is that the
Popen
process output is not UTF-8 encoded, so when we update thevcenv
dictionary that tries to.decode("utf-8")
, it fails.My system language is English but (unfortunately) I have a special character in my username, which appears in some variables returned by
SET
.I found a quite simple workaround, that I may send as a PR if it works for you, which is to retrieve the os stdout encoding using
os.device_encoding(1)
:The text was updated successfully, but these errors were encountered: