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

Latin1 encoded files are not auto-detected #32798

Closed
clarking opened this issue Aug 18, 2017 · 3 comments
Closed

Latin1 encoded files are not auto-detected #32798

clarking opened this issue Aug 18, 2017 · 3 comments
Assignees
Labels
info-needed Issue requires more information from poster
Milestone

Comments

@clarking
Copy link

I need to "Reopen file with Encoding" for a Latin-1 file every time i open that file to show accented chars correctly, i tried to save the file with the new encoding but does not work.

i wish Vscode can auto-detect the encoding or at least remember the encoding of the file when i open it.

Thank you guys, keep up the awesome work.

Version 1.14.2
Commit cb82feb
Date 2017-07-19T23:26:08.116Z
Shell 1.6.6
Renderer 56.0.2924.87
Node 7.4.0

Steps to Reproduce:

  1. Open a Latin-1 file in editor (displays in UTF-8 by default)
  2. Change encoding to Western (ISO-8859-1)
  3. Save and close the file
  4. Open same file again and it's displayed as UTF-8
@bpasero
Copy link
Member

bpasero commented Aug 21, 2017

@clarking does it help if you configure "files.autoGuessEncoding": true ?

@bpasero bpasero added the info-needed Issue requires more information from poster label Aug 21, 2017
@bpasero bpasero added this to the Backlog milestone Aug 21, 2017
@clarking
Copy link
Author

thank you for the response, when i use the option "files.autoGuessEncoding": true the file displays correctly but assigns the Windows 1252 encoding which is very similar to ISO-8859-1, it will be amazing if the editor can remember the encoding you set to the file when you open it for the first time. In the meantime i will keep the autoguesscontent option enabled

thank you again and keep up the awesome work

@vscodebot vscodebot bot closed this as completed Oct 25, 2017
@vscodebot
Copy link

vscodebot bot commented Oct 25, 2017

This issue has been closed automatically because it needs more information and has not had recent activity. Please refer to our guidelines for filing issues. Thank you for your contributions.

@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants