Double-decoding unicode in python

前端 未结 4 970
猫巷女王i
猫巷女王i 2020-12-09 18:28

I am working against an application that seems keen on returning, what I believe to be, double UTF-8 encoded strings.

I send the string u\'XüYß\' encode

4条回答
  •  孤街浪徒
    2020-12-09 19:06

    Here's a little script that might help you, doubledecode.py -- https://gist.github.com/1282752

提交回复
热议问题