title: AttributeError: 'list' object has no attribute 'encode'
body: <p>I have a list of unicode objects and want to encode them to utf-8, but encoding doesn't seem to work. </p>
  
  <p>the code is here  :</p>
  
  <pre><code>&gt;&gt;&gt; tmp = [u' test context']
  &gt;&gt;&gt; tmp.encode('utf-8')
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  AttributeError: 'list' object has no attribute 'encode'
  &gt;&gt;&gt;
  </code></pre>
  
  <p>I can't understand why there is no attribute encode</p>