Can you provide more information? Please answer the following:
What kind of OS are you using? Windows? Mac?
Which version of SonarQube are you running?
Can you run your sonar analysis in debug mode mvn clean install sonar:sonar -X and share those logs with me? If you prefer a private message, just message me and we can talk about it there.
I tried doing a sample project with your name projectName and it worked on my macOS with UTF-8 encoding [INFO] Default locale: "en_US", source code encoding: "UTF-8" when I ran the sonar analysis.