标题说明了一切,我也试过删除它们
(因为文本在那里,但不是“aldo”而是“al?do”,它似乎也有一个随机模式)
有(String).replace("?", "")
,但没有成功。
我也使用了这个,结合了 UTF_8、UTF_16 和 ISO-8859,但没有成功。
byte[] ptext = tempName.getBytes(UTF_8);
String tempName1 = new String(ptext, UTF_16);
我得到的一个例子:
Studded Regular Sweatshirt // Instead of this
S?tudde?d R?eg?ular? Sw?eats?h?irt // I get this
会不会是网站注意到了无头浏览器并试图“欺骗”其内容?我该如何克服呢?