title: Python string conversion (localization) question
body: <pre><code>source = '\xe3\xc7\x9f'
  destination = u'\u0645\u0627\u06ba'
  </code></pre>
  
  <p>How do I get from the source, to the destination?</p>
  
  <p>(The source and the destination are both the same 3 characters, in the same order, just represented differently.)</p>
  
  <p>Technically, the source is in Urdu and the destination is the Unicode code points for the same 3 characters. See: <a href="https://www.codeaurora.org/git/projects/froyo-gb-dsds-7227/repository/revisions/39141d7a9dbdd2e9acf006430a7e7557ffd1efce/entry/external/icu4c/data/mappings/ibm-5352_P100-1998.ucm" rel="nofollow">https://www.codeaurora.org/git/projects/froyo-gb-dsds-7227/repository/revisions/39141d7a9dbdd2e9acf006430a7e7557ffd1efce/entry/external/icu4c/data/mappings/ibm-5352_P100-1998.ucm</a></p>
  
  <p>If I do:</p>
  
  <pre><code>source.decode('cp1006')
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>u'\ufed9\ufb84\x9f'
  </code></pre>
  
  <p>Which is not what I'm looking for...</p>
  
  <p>If I do:</p>
  
  <pre><code>source.decode('raw_unicode_escape')
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>u'\xe3\xc7\x9f'
  </code></pre>
  
  <p>Which is also not what I'm looking for...</p>
  
  <p>How do I get from point A (source) to point B (destination) in Python?</p>