Firstly, I am aware that there are tons of questions regarding en/de-coding of strings in Python 2.x, but I can't seem to find a solution to this problem.
I have a unicode string, that contains letter č
which is represented as \u00c4\u008d
If in Python console I write
>>> a = u"\u00c4\u008d">>> print a
I get two strange characters printed out instead of č
, probably because the actual encoding of that string is supposed to be UTF-8. Therefore I try to use .decode("utf-8")
but for this I get the standard UnicodeEncodeError
.
Do you know how I can make Python print that string as č
in the console?