Jul 19, 2007 11:49 PM|Benson Yu - MSFT|LINK
I also tried to find the way to set default encoding to Unicode. However, I haven’t found it. When we change the encoding for a file by “Advanced Save Options”, we can notice that the file be changed immediately. For example, after we change the encoding
for “test.aspx”, the file name become “test.aspx*”. It means the file has been changed. You can view the difference between them by Hex editor. Hence, the encoding information is saving in the file, not otherwhere.
Based on my research, there are two workarounds to fix this issue:
1. The default file encoding of Visual Studio depends on the Windows setting. Following is the location that you can change it.
Control Panel | Regional and Language Options | Advanced | change the language to English from the drop down list.
2. Since the files we add in project are from the templates, we can change the encoding for those templates.
Visual Studio 2005 installed folder\Common7\IDE\ItemTemplates