mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
Use cp1252 on Windows for the wxWidgets build too,
and add a note to the README about it.
This commit is contained in:
@@ -160,7 +160,8 @@ def getoutput(cmd):
|
||||
output = None
|
||||
output = sp.stdout.read()
|
||||
if sys.version_info > (3,):
|
||||
output = output.decode('utf-8') # TODO: is utf-8 okay here?
|
||||
outputEncoding = 'cp1252' if sys.platform == 'win32' else 'utf-8'
|
||||
output = output.decode(outputEncoding)
|
||||
output = output.rstrip()
|
||||
rval = sp.wait()
|
||||
if rval:
|
||||
|
||||
Reference in New Issue
Block a user