Skip to main content
2 of 2
added 522 characters in body
Bolo
  • 11.7k
  • 7
  • 43
  • 61

EDIT. Looks like your string is encoded in such a way that (LEFT DOUBLE QUOTATION MARK) becomes \x93 and (RIGHT DOUBLE QUOTATION MARK) becomes \x94. There is a number of codepages with such a mapping, CP1250 is one of them, so you may use this:

s = s.decode('cp1250')

For all the codepages which map to \x93 see here (all of them also map to \x94, which can be verified here).

Bolo
  • 11.7k
  • 7
  • 43
  • 61