title: Android XmlPullParser UTF-8 problem
body: <p>I have an XML document built with </p>
  
  <pre><code>org.xmlpull.v1.XmlSerializer
  </code></pre>
  
  <p>This document contains following XML prolog</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='utf-8' standalone='yes' ?&gt;
  </code></pre>
  
  <p>When I try to parse this document using</p>
  
  <pre><code>import org.xmlpull.v1.XmlPullParser;
  </code></pre>
  
  <p>with following configuration code</p>
  
  <pre><code>XmlPullParser pullParser = Xml.newPullParser();
  pullParser.setInput(theInputStream, "utf-8");
  </code></pre>
  
  <p>I get undecoded utf-8 strings when I call </p>
  
  <pre><code>String text = pullParser.getText();
  </code></pre>
  
  <p>So it seems that XmlPullParser in Android (I use 1.5) doesn't support utf-8. Did I miss something?</p>
  
  <p>Thank you in advance.</p>