lxml.etree.tostring 乱码的解决方案. 话不多说,直接show code,很简单的一个示例代码。这里的关键是to string时用utf-8编码,然后用utf-8解码。
確定! 回上一頁