title: .NET Core doesn't know about Windows 1252, how to fix?
body: <p>This program works just fine when compiled for .NET 4 but does not when compiled for .NET Core. I understand the error about encoding not supported but not how to fix it.</p>
  <pre><code>Public Class Program
      Public Shared Function Main(ByVal args As String()) As Integer
          System.Text.Encoding.GetEncoding(1252)
      End Function
  End Class
  </code></pre>