title: xml parsing issue encoding error
body: <p>I have an xml file like this</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;tw&gt;
      &lt;tweet&gt;
          &lt;yazi&gt;atılacak tweet 1&lt;/yazi&gt;
          &lt;resim&gt;resim.png&lt;/resim&gt;
      &lt;/tweet&gt;
      &lt;tweet&gt;
          &lt;yazi&gt;atılacak tweet 2&lt;/yazi&gt;
          &lt;resim&gt;yok&lt;/resim&gt;
      &lt;/tweet&gt;
  &lt;/tw&gt;
  </code></pre>
  
  <p>I'm trying to read it with</p>
  
  <pre><code>import xml.etree.ElementTree as ett
  
  e = ett.parse("tweet.xml").getroot()
  </code></pre>
  
  <p>But I get this error,</p>
  
  <blockquote>
    <p>xml.etree.ElementTree.ParseError: encoding specified in XML
    declaration is incorrect: line 1, column 31</p>
  </blockquote>
  
  <p>Why? How can I fix this, I searched a lot and xml file looks ok. I don't understand why I can't read the file.</p>