How to use split with utf8 coding?
<p>I use builtin split function and i have a problem:</p>

<pre><code>&gt;&gt;&gt; data = "test, ąśżźć, test2"
&gt;&gt;&gt; splitted_data = data.split(",")
&gt;&gt;&gt; print splitted_data
['test', ' \xc4\x85\xc5\x9b\xc5\xbc\xc5\xba\xc4\x87', ' test2']
</code></pre>

<p>Why this is happen? What should I do to prevent this?</p>

<p>Python 2.7.1</p>
