SAXParser does not understand encoding 'EUC-JP'
<p>sax parser throws exception when I parse following file</p>

<pre><code>&lt;?xml version='1.0' encoding='EUC-JP'?&gt;
&lt;note&gt;
  &lt;to&gt;George&lt;/to&gt;
  &lt;from&gt;John&lt;/from&gt;
  &lt;heading&gt;Reminder&lt;/heading&gt;
  &lt;body&gt;·ÑÂ³meeting&lt;/body&gt;
&lt;/note&gt;
</code></pre>

<p>If I remove first line and  line with Japanese characters then parser works.</p>

<pre><code>&lt;note&gt;
  &lt;to&gt;George&lt;/to&gt;
  &lt;from&gt;John&lt;/from&gt;
  &lt;heading&gt;Reminder&lt;/heading&gt;
&lt;/note&gt;
</code></pre>

<p>Any idea how to make it work for other encodings also.</p>
