Python: convert some encoding to russian alphabet
<p>I have list with unicode</p>

<pre><code>lst = [u'\xd0\xbe', u'/', u'\xd0\xb8', u'\xd1\x81', u'\xd0\xb2', u'\xd0\xba', u'\xd1\x8f', u'\xd1\x83', u'\xd0\xbd\xd0\xb0', u'____', u'|', u'\xd0\xbf\xd0\xbe', u'11', u'search', u'\xd0\xbe\xd1\x82', u'**modis**', u'15', u'\xd0\xa1', u'**avito**', u'\xd0\xbd\xd0\xb5', u'[\xd0\xa1\xd0\xbe\xd1\x85\xd1\x80\xd0\xb0\xd0\xbd\xd1\x91\xd0\xbd\xd0\xbd\xd0\xb0\xd1\x8f', u'\xd0\x92', u'\xd0\xb5\xd1\x89\xd1\x91', u'kid', u'google', u'\xd0\xbb\xd0\xb8', u'13', u'**\xd0\xb0\xd0\xb2\xd0\xb8\xd1\x82\xd0\xbe**', u'[\xd0\x9f\xd0\xbe\xd0\xba\xd0\xb0\xd0\xb7\xd0\xb0\xd1\x82\xd1\x8c', u'\xd0\x9f\xd0\xbe\xd0\xb6\xd0\xb0\xd0\xbb\xd0\xbe\xd0\xb2\xd0\xb0\xd1\x82\xd1\x8c\xd1\x81\xd1\x8f', u'\xd0\x9e', u'&amp;parent-', u'\xd0\xaf\xd0\xbd\xd0\xb4\xd0\xb5\xd0\xba\xd1\x81', u'###', u'**avito**.', u'**kiddieland**', u'\xd0\xbc\xd0\xb0\xd0\xb3\xd0\xb0\xd0\xb7\xd0\xb8\xd0\xbd', u'45', u'click2.yandex.ru/redir', u'72']
</code></pre>

<p>I try to convert some like <code>u'\xd0\xbe'</code> to russian.
I tried to use 2 and 3 python, but I can't do that.
I use IDE Pycharm and in settings I have default utf-8. 
When I print that with</p>

<pre><code>for elem in lst:
    print (elem)
</code></pre>

<p>it returns me <code>ÃÂ¾</code> for the first elem. When I try <code>print (elem.encode('cp1252'))</code>  it returns <code>b'\xd0\xbe'</code>
When I use <code>chardet.detect</code> it returns me, that it's <code>utf-8</code>.
Can anybody explain to me, how can I convert it to russian alphabet and why ways, that I use doesn't fit to get it.</p>

<p>It appears that the elements of your list are byte strings encoded in UTF-8, yet they are of type <code>str</code> (or <code>unicode</code> in Python 2).</p>

<p>I used the following to convert them back into proper UTF-8:</p>

<pre><code>def reinterpret(string):
    byte_arr = bytearray(ord(char) for char in string)
    return byte_arr.decode('utf8')
</code></pre>

<p>This gives the following, which looks a bit more like Russian:</p>

<pre><code>&gt;&gt;&gt; for elem in lst:
...     print(reinterpret(elem))
... 
Ð¾
/
Ð¸
Ñ
Ð²
Ðº
Ñ
Ñ
Ð½Ð°
____
|
Ð¿Ð¾
11
search
Ð¾Ñ
**modis**
15
Ð¡
**avito**
Ð½Ðµ
[Ð¡Ð¾ÑÑÐ°Ð½ÑÐ½Ð½Ð°Ñ
Ð
ÐµÑÑ
kid
google
Ð»Ð¸
13
**Ð°Ð²Ð¸ÑÐ¾**
[ÐÐ¾ÐºÐ°Ð·Ð°ÑÑ
ÐÐ¾Ð¶Ð°Ð»Ð¾Ð²Ð°ÑÑÑÑ
Ð
&amp;parent-
Ð¯Ð½Ð´ÐµÐºÑ
###
**avito**.
**kiddieland**
Ð¼Ð°Ð³Ð°Ð·Ð¸Ð½
45
click2.yandex.ru/redir
72
</code></pre>

python unicode encoding utf-8