Skip to content

Read source encoding from the standard sonar.sourceEncoding property#116

Open
Bazooper-blip wants to merge 1 commit into
integrated-application-development:masterfrom
Bazooper-blip:sonar-source-encoding-fix
Open

Read source encoding from the standard sonar.sourceEncoding property#116
Bazooper-blip wants to merge 1 commit into
integrated-application-development:masterfrom
Bazooper-blip:sonar-source-encoding-fix

Conversation

@Bazooper-blip

Copy link
Copy Markdown

Fixes the charset configuration key in AnalysisOrchestrator: the code read sonar.encoding from sonar-project.properties, but the standard Sonar property is sonar.sourceEncoding — so a configured source encoding was silently ignored during analysis.

This is the isolated bug-fix commit from #101, cherry-picked with @andrevfarias's authorship preserved, so the fix isn't blocked on the (much larger) legacy-IDE discussion in that PR.

Testing: full server Maven suite passes (127 tests, 0 failures).

- Changed the property key from `sonar.encoding` to `sonar.sourceEncoding`
  to align with updated configuration standards.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants