urllib.quote解码编码

urllib.quote('编码坑爹'.decode('gbk').encode('utf-8'))

中文解码
decode('gbk')
国际编码

encode('utf-8')

猜你喜欢

转载自www.cnblogs.com/qmjy/p/11408383.html