I am running SonarQube 5.6 version and I am trying to integrate .NET application with Sonar. After running sonar-runner, I am getting this warning message
Encoding detected by Roslyn and encoding used by SonarQu be do not match for file xxx. SonarQube encoding is 'windows-1252', Roslyn encoding is 'UTF-8'. File will be skipped.
This is resulting in 0 analysis as all files are getting skipped. One way to make it work is by changing .cs file encoding from Visual Studio one-by-one to windows-1252. This is not feasible as I have big projects with over 1000 files.
Is there any way we can change the encoding for SonarQube? or is there any other way to resolve this.