vscode: the current version can't auto guess the right encoding
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.68.1 (user setup)
- OS Version: Windows_NT x64 10.0.19044
Issue Type: Bug
Steps to Reproduce:
When I open a file with gbk encoding, the current version vscode can’t open it with right encoding, and the old version works well. I have both turn files.autoGuessEncoding to true.
I have noticed that the current version have new function “file.Encoding” in Files setting. The default character set encoding to use when reading and writing files. When i use the current version vscode, it has a strange phenomenon, When i turn a gbk file, it will do one more refresh,before refresh, it guess the right encoding, after refresh, it goes wrong, It seem like use the “file.Encoding” type finally.
I think when the “file.autoGuessEncoding” is true, the “file.encoding” should alse be automatically set to true. It will looks more reasonable.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (9 by maintainers)
OK, i will try and give feedback.