For those files that we can't decode, don't generate a html-preview but note into index.html that we couldn't process the file. At the end, summarize on which files we failed and suggest using --source-encoding option.
cppcheck-htmlreport This is a little utility to generate a html report of a XML file produced by cppcheck. The utility is implemented in Python and require the pygments module to be able to generate syntax highlighted source code. If you are using a Debian based Linux system, the pygments package can be installed by following command: $ sudo apt-get install python-pygments For more information run './cppcheck-htmlreport --help'