Currently the property sonar.sourceEncoding is defined for the whole module and it is not possible to have some files with different encoding.
Like IDEs and SCM tools we could:
- provide some auto-detection (based on content, or BOM, or headers for XML files)
- provide advanced configuration to force encoding per file (but this is configuration hell)
- is depended upon by
-
CPP-1630 Support for projects with mixed BOM (requires SonarQube >= 6.2)
-
- Closed
-
- is related to
-
SONAR-6100 Improve support of files with different encoding other than default encoding
-
- Closed
-
-
SONAR-7883 Expose InputFile charset in API
-
- Closed
-
-
SUPPORT-3729 Loading...
-
SUPPORT-4269 Loading...