Russian character decoding in python
<p>This question only for python:</p>

<p>I have a city name in a string in Russian language and which is in Unicode form like,</p>

<blockquote>
  <p><code>\u041C\u043E\u0441\u043A\u0432\u0430</code></p>
</blockquote>

<p>means </p>

<blockquote>
  <p><code>ÐÐ¾ÑÐºÐ²Ð°</code></p>
</blockquote>

<p>How to get original text instead of unicode characters?</p>

<p><strong>Note:</strong> Do not use any import module</p>

<pre><code>&gt;&gt;&gt; a=u"\u041C\u043E\u0441\u043A\u0432\u0430"
&gt;&gt;&gt; print a
ÐÐ¾ÑÐºÐ²Ð°
</code></pre>

<p>Your string is a unicode string because each character/code point with \u is only usable from a unicode string, you should prefix the string with u. Otherwise is a regular string and each \u counts as a regular ascii character:</p>

<pre><code>&gt;&gt;&gt; len(a)
6
&gt;&gt;&gt; b="\u041C\u043E\u0441\u043A\u0432\u0430"
&gt;&gt;&gt; len(b)
36
</code></pre>

python