Visual Studio 2010: Is it possible to force editor to use ANSI rather than UTF-8?
Posted
by Mark Redman
on Super User
See other posts from Super User
or by Mark Redman
Published on 2010-04-26T07:08:54Z
Indexed on
2010/04/26
7:13 UTC
Read the original article
Hit count: 221
I am having issues with some files in automated processes, specifically with batch files and sql files. Visual Studio seems to create these as UTF-8 rather than ansi and adds some kind of special characters to the beginning of the file (I think this is a called a pre-amble) This breaks running batch files and running swl files through osql.exe. I have had issues myself in the past in creating text files using C#, but can get around that through encoding. However its seems a bit strange I cant use Visual studio to create batch files and sql files in a database project for automation.
© Super User or respective owner