C# encoding when reading files
<p>I have a file which contains letter <code>ø</code>. When I read from it with this code <code>File.ReadLines(filePath)</code> I got a question mark instead of it.</p>

<p>And when I add Encoding like this <code>File.ReadLines(filePath, Encoding.GetEncoding(1252))</code> I get the <code>ø</code> character.</p>

<p>But default Encoding is already set to <code>1252</code>, property <code>Encoding.Default.CodePage</code> returns 1252.</p>

<p>So why do I have to specify Encoding to <code>1252</code> while reading, when default one is already set to <code>1252</code>?</p>

<p>And one more question, what if file is Unicode, will C# recognize its format or I have to specify Unicode encoding?</p>