Currently , .pp files lost BOM when installed in a Visual Studio project.
Usually, the files operated in Visual Studio are utf-8 with BOM.
Comments: There are several ways to check BOM. One of them is to use to use a text editor that supports the display of BOM like "Sublime Text 2", for example. http://www.sublimetext.com/2 (See attached file "SublimeTextDisplayBOM.png") Or , to use binary editor. Below MSDN document may be helpful to you. UTF8Encoding.GetPreamble Method http://msdn.microsoft.com/ja-jp/library/31d6tdy7%28v=vs.100%29.aspx
Usually, the files operated in Visual Studio are utf-8 with BOM.
Comments: There are several ways to check BOM. One of them is to use to use a text editor that supports the display of BOM like "Sublime Text 2", for example. http://www.sublimetext.com/2 (See attached file "SublimeTextDisplayBOM.png") Or , to use binary editor. Below MSDN document may be helpful to you. UTF8Encoding.GetPreamble Method http://msdn.microsoft.com/ja-jp/library/31d6tdy7%28v=vs.100%29.aspx