how to change source file encoding in csharp project (visual studio / msbuild machine)?

前端 未结 3 573
深忆病人
深忆病人 2020-11-30 05:33

Is there a way to force VS to use Unicode always, instead of weird ISO-something?

I\'m working on a winapp csproject using Visual Studio 2008 on Vista (Polish locale

3条回答
  •  广开言路
    2020-11-30 06:07

    In the latest Visual Studio 2017 the interface is changed a bit and you have to chose File -> Save [filename] As…. Then in the opened dialog you can chose Save with Encoding….

提交回复
热议问题