var reader = new StreamReader(„plik.txt”, true);
reader.Peek();
var encoding = reader.CurrentEncoding;
Console.WriteLine(encoding);
Console.ReadKey();
var reader = new StreamReader(„plik.txt”, true);
reader.Peek();
var encoding = reader.CurrentEncoding;
Console.WriteLine(encoding);
Console.ReadKey();