-
Improvement
-
Resolution: Fixed
-
Major
-
-
5.0.0 (analysis-model and warnings-ng)
Currently, the encoding needs to defined for the parser as parameter, it would be handy if the parser could detect the encoding.
<?xml version="1.0" encoding="UTF-8"?> <checkstyle version="4.1"> ... </checkstyle>
I second that, especially for larger C/C++ projects it is difficult to specify an encoding since most newer .cpp / .h files are UTF-8 but older .c Files in the same project are ANSI encoded (We use cppCheck and ClangTidy). The current workaround is to convert all files to UTF-8 just before the analysis.