title: How to setup Visual Studio Code to detect and set the correct encoding on file open
body: <p>I recently started to use Visual Studio Code on Server Systems where I did not have Studio IDE installed. I like it very much but I'm running into a problem.</p>
  <p>When I open a file (used Notepad++ before) the editor detects the encoding and sets it for me. I have many files on windows servers that are still with <code>windows-1252</code> but <code>vscode</code> just uses <code>UTF-8</code> by default.</p>
  <p>I know I can <code>reopen with encoding Western (Windows 1252)</code> but I often forget it and I have sometimes destroyed some content while saving it.</p>
  <p>So I did not find any parameter yet, is there a way to make <code>vscode</code> detect the encoding and set it automatically when I open a file?</p>