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

每次打开老文档时,总是默认以utf8格式打开,导致文本乱码。如果可以的话,打开文档的默认编码改为默认猜测形式 #37890

Closed
fawdlstty opened this issue Nov 9, 2017 · 2 comments
Labels
extensions Issues concerning extensions

Comments

@fawdlstty
Copy link

  • VSCode Version: Code 1.17.2 (b813d12, 2017-10-16T13:59:46.104Z)
  • OS Version: Windows_NT x64 10.0.14393
  • Extensions:
Extension Author (truncated) Version
cpptools ms- 0.14.0

Steps to Reproduce:

Reproduces without extensions: Yes/No

@vscodebot vscodebot bot added the extensions Issues concerning extensions label Nov 9, 2017
@sumbrez
Copy link

sumbrez commented Nov 9, 2017

你可以把设置项files.autoGuessEncoding改为true,这样就会默认猜测编码。
另外对于某种语言(至少win下是根据文件扩展名判断的),你可以设置打开这种语言的文件时使用某种编码,而不是全局默认的编码(例如#19890)。

@bpasero
Copy link
Member

bpasero commented Nov 9, 2017

Please report issues in english. Thanks!

@bpasero bpasero closed this as completed Nov 9, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
extensions Issues concerning extensions
Projects
None yet
Development

No branches or pull requests

3 participants