Split UTF-8 encoded string got from unichr
<p>I have a set of unicode numbers , I need to convert them to UTF-8 and print the result in to split them in to hex values.</p>

<p>eg: Unicode 0x80 should be converted to UTF-8 and printed as (0xc2,0x80)</p>

<p>I tried following</p>

<pre><code>str(unichr(0x80).encode('utf-8')).split(r'\x')[0]
</code></pre>

<p>But it does get split in to ['c2','80']. But it gives me ['\xc2\x80']. </p>

<p>I need this for code generation.</p>
