Commit 9b2752c2 authored by Martin v. Löwis's avatar Martin v. Löwis

Encode MSVC paths as mbcs. Fixes #509117. 2.2.1 candidate.

parent 877f0c18
......@@ -117,6 +117,10 @@ def get_msvc_paths (path, version='6.0', platform='x86'):
if string.upper(p) == path:
V = string.split(v,';')
for v in V:
try:
v = v.encode("mbcs")
except UnicodeError:
pass
if v == '' or v in L: continue
L.append(v)
break
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment