Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Advanced Save Options missing in Visual Studio 2017

In VS2015 I would select File -> "Advanced Save Options...", where I could pick the encoding I wanted, e.g. UTF-8.

In VS2017, this option is no longer in the File menu.

How can I save files with a specific encoding in VS2017?

like image 736
Geir Sagberg Avatar asked Jan 24 '17 15:01

Geir Sagberg


People also ask

How do I check the encoding of a file in Visual Studio?

In the Open With dialog box, choose the editor to open the file with. Many Visual Studio editors, such as the forms editor, will auto-detect the encoding and open the file appropriately. If you choose an editor that allows you to choose an encoding, the Encoding dialog box is displayed.

What is Save with encoding?

Save As Encoding. This command saves the current file with a specified character encoding. To use this command, select the desired encoding, then click the Save button to save the file.

How do I save a Visual Studio code?

Save / Auto Save# By default, VS Code requires an explicit action to save your changes to disk, Ctrl+S. However, it's easy to turn on Auto Save , which will save your changes after a configured delay or when focus leaves the editor. With this option turned on, there is no need to explicitly save the file.


2 Answers

From Visual Studio Team:

Advanced Save Options... has been moved due to uncommon use.

You can still access the functionality through File-> Save As -> then clicking the down arrow on the Save button and clicking "Save With Encoding..."

Save With Encoding...

You can also add it back to the File menu through Tools->Customize->Commands if you want to.

add advanced save option to file menu

like image 58
giammin Avatar answered Oct 09 '22 09:10

giammin


Turns out there is a caret in the Save-button after you select "Save As...", there you can select "Save with encoding".

like image 31
Geir Sagberg Avatar answered Oct 09 '22 09:10

Geir Sagberg