I've set up clang-format to automatically format the code when compiling, but it replaces certain characters with question marks. For example:
// Copyright © Someone
Becomes
// Copyright ? Someone
I'm using the CodeBeautifier plugin in Visual Studio 2015. When I enable the Use source file encoding option, it displays as follows:
// Copyright � Someone
The Type is set to StdInput, because when I select File it waits for user input, and freezes Visual Studio.
How do I prevent characters like those from being encoded incorrectly?