Visual Studio Express 2013 for the web - save encrypted file unchanged

VSEW 2013 changes the encoding of the file when it is saved - a problem that did not occur to me in VSEW 2012. I don’t remember if I changed the configuration. to prevent this in VSEW 2012, or it worked on demand by default.

In any case, I can’t decide how to save the encoding, with the exception of each file individually, through File> Save As and explicitly set the required encoding. It would be tiring (and very error prone) to rely on this approach.

In particular, an HTML file originally encoded as UTF-8 without a specification (without a signature) is saved as UTF-8 with the VSEW 2013 specification .

Are there any global settings to prevent changing the version of VSEW 2013 or installing UTF-8 without a specification?

LRE

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

+6
source share
1 answer

You can install Fix File Encoding for VS2013. According to the site, it "automatically detects when a UTF-8 file is opened in Visual Studio and sets its encoding to UTF-8 without a signature. If you do not edit the file, it remains unchanged. If you edit the file, it will be saved without a specification.

It worked fine for me. Hope this helps.

0
source

Source: https://habr.com/ru/post/956435/


All Articles