title: Encoding.GetEncoding can't work in UWP app
body: <p>I need to encode some text files for native characters.</p>
  
  <p>In my Windows 8.1 Store app, I could use <code>Encoding.GetEncoding()</code> method normally:</p>
  
  <pre><code>Encoding.GetEncoding("windows-1254")
  </code></pre>
  
  <p>But in UWP app, I got this exception: </p>
  
  <blockquote>
    <p>Additional information: 'windows-1254' is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.</p>
  </blockquote>
  
  <p>I don't know how to make it work by using <strong><code>Encoding.RegisterProvider</code></strong> method, any ideas?</p>