django传值出现二进制乱码(基于python3)

import  urllib.parse
c = '%E6%8E%A8%E8%BF%9B'
urllib.parse.unquote(c)

猜你喜欢

转载自www.cnblogs.com/setname/p/11526555.html