title: 32-bit unicode in python
body: <p>Python has an escape sequence <code>\u</code> to display unicode values. However this is restricted to only 16 bit unicode values. That is </p>
  
  <pre><code>&gt;&gt;&gt; '\u1020'
  'ဠ'
  </code></pre>
  
  <p>Whereas 32 bit uncode values do not work. That is</p>
  
  <pre><code>&gt;&gt;&gt; '\u00001000'
  '\x001000'
  </code></pre>
  
  <p>Which is obviously wrong. The python <a href="https://docs.python.org/2/tutorial/introduction.html#unicode-strings" rel="noreferrer">documentation</a> mentions</p>
  
  <blockquote>
    <p>The escape sequence \u0020 indicates to insert the Unicode character with the ordinal value 0x0020 (the space character) at the given position.</p>
  </blockquote>