Appium .getPageSources xml 编码

Appium .getPageSources xml encoding

如果我尝试在 Android Appium 中获取 driver.getPageSource(),它会给我 XML 错误的编码,例如:

<?xml version="1.0" encoding="UTF-8"?>
...
<android.widget.TextView 
index="1" 
text="Florbal - mu?i" 
class="android.widget.TextView"
...
bounds="[68,655][712,696]"
resource-id="my.app.test:id/sport_name"
instance="9" />

但是文字应该是"Florbal - muži"

我可以在 UI Automator Viewer 中看到正确的编码。而且它不是由 Èclipse 控制台编码引起的。

其新报告的 Appium 错误:https://github.com/appium/appium/issues/4611