Visual Studio inserts invalid characters in batch files

后端 未结 5 713
我在风中等你
我在风中等你 2020-12-13 08:05

I\'ve got some batch files that I use to help automate the process of creating and reloading development databases. It makes sense to create and maintain these batch files

5条回答
  •  情深已故
    2020-12-13 08:56

    Another way to correct this from within visual studio is...

    1. Right click the file in solution explorer and select 'Open With'
    2. Choose one of the "... With Encoding" options
    3. Choose US-ASCII from the encodings list
    4. Save the file

    Now it should retain that selected encoding whenever you open it.

提交回复
热议问题