title: Working with unicode in python
body: <p>I connect to a mysql database using pymysql and after executing a request I got the following string: <code>\xd0\xbc\xd0\xb0\xd1\x80\xd0\xba\xd0\xb0</code>. </p>
  
  <p>This should be 5 characters in utf8, but when I do <code>print s.encode('utf-8')</code> I get this: <code>╨╝╨░╤А╨║╨░</code>. The string looks like byte representation of unicode characters, which python fails to recognize. </p>
  
  <p>So what do I do to make python process them properly?</p>