当我使用HtmlUnitDriver填充表格时,会出现这样的阿拉伯语单词:
WebDriver driver = new HtmlUnitDriver();
driver.get("http://example.com");
driver.findElement(By.id("id_message")).sendKeys("Some arabic words here");
driver.findElement(By.id("submit-button")).click();
用id:id_message填充带有问号的文本输入:
?????? ????? ???? ???? ???? ???? ??? ?? ???? ???? ??? ????? ? ????? ??????? ?????? ??? ????? ?????? ???? ????? ??? ???
我该如何解决这个问题?