UTF-8 without BOM

前端 未结 10 1871
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-22 15:31

I have javascript files that I need them to be saved in UTF-8 (without BOM), every time I convert them to the correct format in Notepad++, they are reverted back to

10条回答
  •  -上瘾入骨i
    2020-11-22 15:34

    For Visual Studio Code do the following:

    1. From bottom right, select current encoding
    2. From options, Select Save with enconding
    3. From options, select UTF-8

提交回复
热议问题