title: Output text file with ANSI encoding
body: <p>I have XML file, which need to be converted as text file with encoding ANSI.</p>
  
  <p>I tried the followings, but I am getting only the UTF-8 encoding:</p>
  
  <pre><code>&lt;xsl:output method="text"/&gt;
  
  &lt;xsl:output method="text" encoding="us-ascii"/&gt;
  
  &lt;xsl:output method="text" encoding="us-ascii" method="text/plain"/&gt;
  </code></pre>
  
  <p>Is there anyway to get the text file with ANSI encoding?</p>