title: ElementTree and UnicodeEncodeError:
body: <p>I'm processing the following xml file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
  &lt;tag&gt;…&lt;/tag&gt;
  </code></pre>
  
  <p>Just like python documentation says:</p>
  
  <pre><code>import xml.etree.cElementTree as ET
  
  tree = ET.parse('file.xml')
  print(tree.getroot().text)
  </code></pre>
  
  <p>But unfortunately I've got such an error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "main.py", line 48, in &lt;module&gt;
      print(tree.getroot().text)
    File "C:\Python33\lib\encodings\cp852.py", line 19, in encode
      return codecs.charmap_encode(input,self.errors,encoding_map)[0]
  UnicodeEncodeError: 'charmap' codec can't encode character '\u2026' in position 0: character maps to &lt;undefined&gt;
  </code></pre>
  
  <p>What am I doing so wrong?</p>