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)?