Does Encoding.GetEncoding(...) works with "windows-1251" on WP 8.1 RT? RRS feed

  • Question

  • I want to parse text from a website, which is Windows-1251 encoded.

    The following line gives me error that the encoding is not supported.

    StreamReader streamRead = new StreamReader(await response.Content.ReadAsStreamAsync(), Encoding.GetEncoding("windows-1251"));

    Is there any chance of making that work (and how)?

    Monday, December 15, 2014 10:35 PM


All replies