Sonarsource/sonarqube-scan-action LC_ALL: cannot change locale (en_US.UTF-8)

LC_ALL: cannot change locale (en_US.UTF-8)

  • Version: sonarsource/sonarqube-scan-action@master
  • Execution: Run sonarsource/sonarqube-scan-action@master env: LC_ALL: en_US.UTF-8
  • Error: LC_ALL: cannot change locale (en_US.UTF-8) ... java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /src/main/resources/assets/hinzuzuf??gen.svg
  • The Action was working before this commit

Hey, the sonar scanner does not seem to work anymore since the latest changes on master. It seems like the encoding can’t be set anymore.

Hi @YunaBraska

Would you mind sharing a bit more about your GitHub Action configuration? Am I understanding right that you are trying to change the locale to en_US.UTF-8? How are you doing that?

The latest base image we use should already be configured for UTF-8, so I would like to understand your use case here.

Thanks