Python 3 Decoding Strings

Viewed 22669

I understand that this is likely a repeat question, but I'm having trouble finding a solution.

In short I have a string I'd like to decode:

raw = "\x94my quote\x94"
string = decode(raw)

expected from string

'"my quote"'

Last point of note is that I'm working with Python 3 so raw is unicode, and thus is already decoded. Given that, what exactly do I need to do to "decode" the "\x94" characters?

3 Answers
Related