Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No obvious way to tell if a file is UTF-8 with or without BOM #3732

Closed
ronmartmsft opened this issue Mar 4, 2016 · 1 comment
Closed

No obvious way to tell if a file is UTF-8 with or without BOM #3732

ronmartmsft opened this issue Mar 4, 2016 · 1 comment
Assignees

Comments

@ronmartmsft
Copy link

VS Code needs a UTF-8 with and without encoding (or more friendly with and without BOM) option when you do save with encoding.

More Info
Unlike Notepad++ which has easy to read menu options for encoding or Visual Studio which as Advanced Save Options which clearly spell out UTF-8 with encoding and without encoding, VS Code makes it very tedious to discover if your file has been saved with or without the BOM.

This is critically important when saving markdown files in GitHub and using their pages feature - which renders in Linux via Jekyll - because if you get this wrong (like when saving via Notepad) - you can't easily identify the problem - your page just won't render.

A typical dev test to figure this problem out is to use Notepad++ to check the encoding (or more complex is to run Jekyll locally and read the debug output).

@bpasero
Copy link
Member

bpasero commented Mar 5, 2016

This will become available for GA: #751

@bpasero bpasero closed this as completed Mar 5, 2016
@bpasero bpasero self-assigned this Mar 5, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants