1
2
3
4
5
6
7
|
import
urllib2
import
sys
type
=
sys.getfilesystemencoding()
#important
print
content.decode(
"UTF-8"
).encode(
type
)
#important
|
python urlopen 乱码
最新推荐文章于 2021-03-26 18:03:18 发布