Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
In vs code, create .vue file, template input Chinese, off and on, garbled.
When the reason to save time utf-8 format, and open windows 1252 to encode.
solution:
1) Set utf-8 format using open and save files
2) prohibit tool automatically guess the file encoding
File -> Preferences - "setting, and then search for" encode "