title: Python unicode vs utf-8
body: <p>I am building a string query (cypher query) to execute it against a database (Neo4J).</p>
  
  <p>I need to concatenate some strings but I am having trouble with encoding. 
  I am trying to build a unicode string. </p>
  
  <pre><code># -*- coding: utf-8 -*-
  value = u"D'Santana Carlos Lãnez"
  key = u"Name"
  line =  key + u" = "+ repr(value)
  print line.encode("utf-8")
  </code></pre>
  
  <p>I expected to have:</p>
  
  <blockquote>
    <p>Name = "D'Santana Carlos Lãnez"</p>
  </blockquote>
  
  <p>But i getting:</p>
  
  <blockquote>
    <p>Name = u"D'Santana Carlos L\xe3nez"</p>
  </blockquote>
  
  <p>I imagine that <code>repr</code> is returning a unicode. Or probably i am not using the right function. </p>