I have a string:
>>>>s = u'u0411u0435u0437u0443u043cu043du044bu0439 u041cu0430u043au0441 2: u0412u043eu0438u043d u0434u043eu0440u043eu0433u0438 / Mad Max 2 / The Road Warrior (1981) BDRip 1080p | UNRATED '
It I try print it, it’s look nice:
>>>>print d
Безумный Макс 2: Воин дороги / Mad Max 2 / The Road Warrior (1981) BDRip 1080p | UNRATED
But print repr(d) show the same string:
>>> print repr(d)
u'u0411u0435u0437u0443u043cu043du044bu0439 u041cu0430u043au0441 2: u0412u043eu0438u043d u0434u043eu0440u043eu0433u0438 / Mad Max 2 / The Road Warrior (1981) BDRip 1080p | UNRATED '
How can I decode this string?
I need that repr show me the text like print.
It’s not about repr function, I need to know what codec use to decode it.
Source: python