I have several files that are not parsed with the following message:
Invalid character found in the file [file name with full path] on line 9 for UTF-8 encoding. Correct the contents of the file or configure the encoding that will be used using the sonar.sourceEncoding property.
In Visual Studio, when I select File / Advance Save Options, the files were installed in Western Europe (Windows) - Codepage 1252.
I changed it to Unicode (UTF-8 with signatures) - Codepage 65001.
But SonarQube is still complaining about invalid characters. "Invalid characters" are German comments with Umlaut characters (ä, ö, ü)
What can I do to fix this (without deleting comments)?
tobre source
share