I know how to change the encoding of a single file in Visual Studio, that is, by going to “Save as…” -> “Save with encoding” and choosing the encoding. However, I got an old C++ codebase with hundreds of source files. Is there a way to batch re-encode them (specifically, to UTF-8)? I am aware of .editorconfig
and similar editor settings, but those only affect newly created files.