Vscode windows1252 coding problem

A code sent to me by my friend is in utf-8 format, but after opening it on my side, it automatically becomes windows1252 format. I convert it to utf-8 code and save it and then open it next time or windows1252 format. I have encountered this problem several times. Does anyone know what this is all about? thank you

.
Apr.02,2022

in

settings

Files:Auto Guess Encoding

Just change

to false


vscode is open source. Go to github to see issue

.

https://github.com/Microsoft/...

Menu