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
u\'XüYß\'
Here's a little script that might help you, doubledecode.py -- https://gist.github.com/1282752