Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Visual Studio Express 2103 for Web - Save file without changing the encoding

$
0
0

After editing a file in VSEW 2013 on Windows 7 Pro 64-bit, the encoding of the file is being changed when it is saved - a problem that did not occur for me in VSEW 2012. I cannot remember whether I changed the config. to prevent this in VSEW 2012, or whether it worked as required - i.e. without corrupting the file - by default.

In any case I cannot work out how to conserve the encoding, except by resetting it manually for each file individually via File > Save As and explicitly setting the required encoding. It would be tedious (and very error-prone) to rely on this approach.

In particular, an HTML file originally encoded as UTF-8 without BOM (without signature) is saved asUTF-8 with BOM by VSEW 2013.  Whatever the default encoding is, surely VSEW should not automatically modify the actual encoding for a file.

Is there any global setting to prevent VSEW 2013 from changing the encoding, or to set it always to use UTF-8 without BOM?

JPL

P.S. The free Fix File Encoding extension (FixFileEncoding_11.vsix) from Vlasov Studio does what is required (and more), but can be installed on Visual Studio Pro only, not the Express version.http://vlasovstudio.com/fix-file-encoding/index.html


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>