title: Windows -1252 is not supported encoding name
body: <p>I am working with windows 10 universal App and the ARM CPU to create apps for the Raspberry Pi.  I get the following error with encoding:</p>
  
  <blockquote>
    <p>Additional information: 'windows-1252' is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.</p>
  </blockquote>
  
  <pre><code> private async void Login(string passcode)
      {
          try
          {
              MySqlConnection conn = new MySqlConnection("Server=...");
              MySqlCommand cmd;
  
              conn.Open();
  
              cmd = new MySqlCommand("Select * from ...");
  
              var dr = cmd.ExecuteReader();
  
              int count = 0;
  
              while (dr.Read())
                  count += 1;
  
              var dialog = new MessageDialog((count == 1) ? "Logged In" : "Error");
              await dialog.ShowAsync();
  
          }
          catch (Exception ex)
          {
             var dialog = new MessageDialog(ex.Message);
             await dialog.ShowAsync();
          }
          finally { conn.Close(); }
      }
  }
  </code></pre>
  
  <p>I get the error in this line of code</p>
  
  <pre><code>dr = cmd.ExecuteReader();
  </code></pre>
  
  <p>Before I used to get it in</p>
  
  <pre><code>conn.open();
  </code></pre>
  
  <p>But I was able to solve it by adding</p>
  
  <pre><code>charset=utf8
  </code></pre>
  
  <p>to the connection string.</p>
  
  <p>How can I solve this error?</p>