<ul dir="auto">
<li>VSCode Version:<br>
1.1.1</li>
<li>OS Version:<br>
Win 10</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>Create a new file in notepad, save it as ANSI (on my machine Ansi = Windows-1252)</li>
<li>Open the file in vs code</li>
</ol>
<p dir="auto">Result: VSCode assumes UTF-8 and the file is corrupted. Sublime-text has no problem recognizing Windows-1252.</p>
<p dir="auto">Steps to reproduce:</p>
<ul dir="auto">
<li>set up environment</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git clone https://github.com/minggo/vscode-issue
cd vscode-issue
npm install"><pre class="notranslate"><code class="notranslate">git clone https://github.com/minggo/vscode-issue
cd vscode-issue
npm install
</code></pre></div>
<ul dir="auto">
<li>set breakpoint at <a href="https://github.com/minggo/vscode-issue/blob/master/firedoc-parse.js#L192">this line</a></li>
<li>debug as a node app</li>
<li>input <code class="notranslate">ast</code> in <code class="notranslate">Debug Console</code></li>
<li>input <code class="notranslate">ast.classes</code> in <code class="notranslate">Debug Console</code></li>
</ul>
<p dir="auto">Then you will meet <code class="notranslate">cancelled because node is unresponsive</code> error.</p>