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

Code unable to determine file encoding #24952

Closed
ebmarquez opened this issue Apr 18, 2017 · 3 comments
Closed

Code unable to determine file encoding #24952

ebmarquez opened this issue Apr 18, 2017 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@ebmarquez
Copy link
Member

ebmarquez commented Apr 18, 2017

  • VSCode Version: Code - Insiders 1.12.0-insider (7efc373, 2017-04-18T06:12:01.182Z)
  • OS Version: Windows_NT ia32 10.0.15063
  • Extensions:
Extension Author Version
project-manager alefragnani 0.14.0
gitignore codezombiech 0.5.0
vscode-yaml-validation djabraham 0.0.1
git-extension-pack donjayamanne 0.1.2
githistory donjayamanne 0.2.0
python donjayamanne 0.6.2
vscode-PSStackoverflow DougFinke 0.0.2
gitlens eamodio 3.4.5
PowerShell ms-vscode 0.12.2
vscode-run-git-difftool narekmal 0.0.4
git-pull-upstream samschneller 0.0.7
python tht13 0.2.3
ansible-autocomplete timonwong 0.0.2
python-extended-snippets tushortz 0.0.1
jinja wholroyd 0.0.7
vscode-open-in-github ziyasal 1.2.3

Steps to Reproduce:
JSON file opened using Source Control: GIT
While in the GIT
code unable to determine encoding format.
no encoding
Open the same file in the code explorer browser, it will determine encoding to be UTFS-16 LE
no encoding - file browser

2racksample-ip.zip

@mjbvz
Copy link
Collaborator

mjbvz commented Apr 18, 2017

I'm not too familiar with the file encoding flows but can you try setting:

"files.autoGuessEncoding": true

and see if that resolves the issue. The problem you describe sounds similar to #23417

@bpasero
Copy link
Member

bpasero commented Apr 18, 2017

#21146

@bpasero bpasero closed this as completed Apr 18, 2017
@bpasero bpasero added the *duplicate Issue identified as a duplicate of another issue(s) label Apr 18, 2017
@ebmarquez
Copy link
Member Author

ebmarquez commented Apr 19, 2017 via email

@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
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants