Encoding detected by Roslyn and encoding used by SonarQube do not match for file

Hello sonar analysis is made on windows jenkins, sonarqube version is 7.0 and we use
“sonar-scanner-msbuild-4.3.1.1372-net46” and “msbuild 15.0” for c# projects.
Although I set sonar.sourceEncoding=windows-1252 in the directory
"sonar-scanner-msbuild-4.3.1.1372-net46\sonar-scanner-3.2.0.1227\conf " and in the named file sonar-scanner.properties; the error does not change.
When I build the c# project with msbuild 14.0 , I do not encounter this problem.
Your help is appreciated.

WARNING: WARN: Encoding detected by Roslyn and encoding used by SonarQube do not match for file C:\HudSlvNEW\workspace\BFA_4_NET_WINDOWS_MSBUILD15\ORT_MUHASEBESLN_FINORT\MuhasebeBL\General.cs. SonarQube encoding is 'windows-1252', Roslyn encoding is 'windows-1254'. File will be skipped.
WARNING: WARN: Encoding detected by Roslyn and encoding used by SonarQube do not match for file

@Hilal_Emeksiz

What is the actual encoding of that file(s)? windows-1252 or windows-1254?
Roslyn thinks it’s windows-1254, so I would suggest you to set sonar.sourceEncoding to this value.