]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Common/VpdInfoFile.py
BaseTools:Updata the output encoding of the Popen function
[mirror_edk2.git] / BaseTools / Source / Python / Common / VpdInfoFile.py
index bc69a9010da87d99a1492f145e6b1f2b035a9f7c..4249b9f899e7728516cf01ac42db8fb405535e69 100644 (file)
@@ -243,7 +243,7 @@ def CallExtenalBPDGTool(ToolPath, VpdFileName):
     except Exception as X:\r
         EdkLogger.error("BPDG", BuildToolError.COMMAND_FAILURE, ExtraData=str(X))\r
     (out, error) = PopenObject.communicate()\r
-    print(out.decode(encoding='utf-8', errors='ignore'))\r
+    print(out.decode())\r
     while PopenObject.returncode is None :\r
         PopenObject.wait()\r
 \r