简体   繁体   中英

How to convert VS code from UTF-16 to UTF-8

I don't know why but my VS code in the bottom line report UTF-16 LE and I want UTF-8. This gives me many problems with JS file. What do I have to do to change that value?

In the bottom bar of VSCode, you'll see the label UTF-16 LE. Click it. A popup opens. Click Save with encoding. You can now pick a new encoding for that file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM