Force enconding of all files within a Visual Studio solution directly from Visual Studio

Any way to convert the encoding of all the files within a VS solution (*.sln) directly inside Visual Studio? (I am using 2008).

Any Add-in for this effect?


You can easily write a VS macro to achieve that. You'd have to iterate over all projects, then for each project iterate over all project configurations (assuming the change should apply to all), and for each configuration modify VCProjectConfigurationProperties.CharacterSet to your desired encoding.

(The link is from the VS2010 documentation, but should apply to previous VS versions too).

Need Your Help

overriding ColorBox open/close transition effects?

javascript jquery html css colorbox

right now the colorbox transition is set to "zoom-in" on opening and "fadeOut" when it's closing. Is there a way to change this?

Printing a linked list in C++ (C++98)

c++ printing linked-list c++98

I'm attempting to print the nodes in a linked list (forwards direction).