Weird characters by Visual Studio 2008 2

Posted by Aaron Feng Fri, 21 Dec 2007 02:57:00 GMT

This week we upgraded to VS 2008 RTM at work. Our solution contains database scripts for both SQL Server and Oracle. I noticed when I ran the script on an Oracle database via sqlplus an error appeared on the first line of the script. After a closer examination with a Hex editor, VS 2008 apparently inserts 3 non-printable characters in the beginning of a new file. Check out the image below:

vs2008

I'm not sure why, or what those characters mean, but they seem to be ignored by most Windows programs except for sqlplus.

Comments

Leave a response

  1. Lindsy Sat, 22 Dec 2007 11:16:01 GMT

    Man you don't even know how long I've waited for this since disabling my own Movable Type widget

  2. contagion Wed, 26 Dec 2007 16:29:58 GMT

    The '3 non-printable characters' are byte order marks (BOM)

    see http://www.unicode.org/unicode/faq/utf_bom.html#BOM

Comments