Problem reading cyrillic (or any other UNICODE) text from the text file using StreamReader

Solution:

System.IO.StreamReader sr = new System.IO.StreamReader(fPath, Encoding.GetEncoding(1251));

Leave a comment