Skip to content

Wrong guess encoding as Windows 1252 #33720

@maooyer

Description

@maooyer

Upstream issue: aadsm/jschardet#48

  • VSCode Version: Version 1.15.1
  • OS Version: Windows 10.0.15063

Steps to Reproduce:

  1. The settings.json of my vscode
    "files.encoding": "utf8",
    "files.autoGuessEncoding": true,
  1. Ceate two txt files, make sure the files are saved as utf-8

test1.txt

Created on: 2017年9月2日
测

test2.txt

Created on: 2017年9月2日
测试
  1. Reopen the files,test1.txt guessed encoding is Windows 1252 and test2.txt guessed encoding is utf-8.

Reproduces without extensions: Yes

Metadata

Metadata

Assignees

Labels

insiders-releasedPatch has been released in VS Code Insiderson-release-notesIssue/pull request mentioned in release notesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-linkedThis is an upstream issue that has been reported upstreamverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions