# \#encoding

**URL:** https://community.sonarsource.com/tag/encoding/112.md

[Latest](https://community.sonarsource.com/latest.md) · [Categories](https://community.sonarsource.com/categories.md) · [Tags](https://community.sonarsource.com/tags.md)

---

## ["WARN: Invalid character encountered" for binary files since 2026-07-02](https://community.sonarsource.com/t/warn-invalid-character-encountered-for-binary-files-since-2026-07-02/185002)

<div class="topic-metadata">

**Author:** [@Manuel.P](https://community.sonarsource.com/u/Manuel.P)\
**Replies:** 9\
**Last updated:** [October 20, 2026, 5:47pm UTC](https://community.sonarsource.com/t/warn-invalid-character-encountered-for-binary-files-since-2026-07-02/185002 "2026-10-20T17:47:04Z")

</div>

ALM used: Azure DevOps CI system used: Azure DevOps Scanner command: SonarCloudAnalyze@4 (with scannerMode: 'dotnet' in SonarCloudPrepare@4) Languages of the repository: C#, XAML, XML, YAML, SQL Only if the SonarCloud p…

---

## [Mixed file encodings in repos](https://community.sonarsource.com/t/mixed-file-encodings-in-repos/182245)

<div class="topic-metadata">

**Author:** [@milbrandt](https://community.sonarsource.com/u/milbrandt)\
**Replies:** 6\
**Last updated:** [July 30, 2026, 4:17pm UTC](https://community.sonarsource.com/t/mixed-file-encodings-in-repos/182245 "2026-07-30T16:17:18Z")

</div>

Manual scan from command line sonar-scanner-cli-8.0.1.6346-windows-x64 OpenJDK Runtime Environment Temurin-21.0.11+10 (build 21.0.11+10-LTS) Languages of the repository: Legacy repo with VB6, C++, Python, … Differ…

---

## [Sonarqube encoding set to windows-1252 but skips files stating that it is set to UTF-8](https://community.sonarsource.com/t/sonarqube-encoding-set-to-windows-1252-but-skips-files-stating-that-it-is-set-to-utf-8/118040)

<div class="topic-metadata">

**Author:** [@jankolinhart\_kfw](https://community.sonarsource.com/u/jankolinhart_kfw)\
**Replies:** 1\
**Last updated:** [July 2, 2024, 1:31pm UTC](https://community.sonarsource.com/t/sonarqube-encoding-set-to-windows-1252-but-skips-files-stating-that-it-is-set-to-utf-8/118040 "2024-07-02T13:31:42Z")

</div>

Context: SonarScanner.MSBuild.exe encoding is kept at platform default “windows-1252”. In the scanner log this is confirmed as follows: INFO: Analyzing on SonarQube server 9.9.0.65466 INFO: Default locale: “en\_US”, …

---

## [Encoding problem and configuration](https://community.sonarsource.com/t/encoding-problem-and-configuration/74305)

<div class="topic-metadata">

**Author:** [@CarlosF1](https://community.sonarsource.com/u/CarlosF1)\
**Replies:** 9\
**Last updated:** [January 3, 2024, 4:14pm UTC](https://community.sonarsource.com/t/encoding-problem-and-configuration/74305 "2024-01-03T16:14:41Z")

</div>

Hello all, I am currently experiencing this problem when running an analysis scan in Sonarqube: error: unmappable character for encoding Cp1252 In the sonar-project.properties file, I have tried adding the following 2…

---

## [Regural expressions in rules don't support non-ascii-characters](https://community.sonarsource.com/t/regural-expressions-in-rules-dont-support-non-ascii-characters/16673)

<div class="topic-metadata">

**Author:** [@juho](https://community.sonarsource.com/u/juho)\
**Replies:** 3\
**Last updated:** [October 30, 2020, 1:32pm UTC](https://community.sonarsource.com/t/regural-expressions-in-rules-dont-support-non-ascii-characters/16673 "2020-10-30T13:32:29Z")

</div>

SonarQube 7.9.1.27448 Scanner sonar-scanner-msbuild-4.6.2.2108-net46 Regural expressions in rules don’t support non-ascii-characters. I changed some of the naming rules in VB.NET- and Javascript-rules but the changes …

---

## [Azure DevOps - Project name with ÅÄÖ (or similar)](https://community.sonarsource.com/t/azure-devops-project-name-with-aao-or-similar/29432)

<div class="topic-metadata">

**Author:** [@Don\_Daniel](https://community.sonarsource.com/u/Don_Daniel)\
**Replies:** 3\
**Last updated:** [October 22, 2020, 1:52pm UTC](https://community.sonarsource.com/t/azure-devops-project-name-with-aao-or-similar/29432 "2020-10-22T13:52:56Z")

</div>

Versions SonarQube: Enterprise Edition Version 8.3.1 (build 34397) SonarQube Azure DevOps plugin: 4.11.0 (Latest) Azure DevOps: Cloud Edition, so latest Repro Create a project with at least one of Å Ä Ö in it Follow …

---

## [Sorna scanner incorrect anyalysis encoding](https://community.sonarsource.com/t/sorna-scanner-incorrect-anyalysis-encoding/25153)

<div class="topic-metadata">

**Author:** [@moonheum](https://community.sonarsource.com/u/moonheum)\
**Replies:** 2\
**Last updated:** [June 2, 2020, 1:04am UTC](https://community.sonarsource.com/t/sorna-scanner-incorrect-anyalysis-encoding/25153 "2020-06-02T01:04:29Z")

</div>

env SonarQube 8.3, Scanner 4.2.0.1873 for windows, sonar-scanner ant 2.7.0.1612 not error report but appear incorrect encoding re analysis source encoding, euc-kr, sonar scanner local eclipse and source code is euc-kr…

---

## [Sonar Scan failed by org.sonarsource.dotnet.shared.plugins.WrongEncodingFileFilter has unsatisfied dependency](https://community.sonarsource.com/t/sonar-scan-failed-by-org-sonarsource-dotnet-shared-plugins-wrongencodingfilefilter-has-unsatisfied-dependency/7510)

<div class="topic-metadata">

**Author:** [@Jeff-Tian](https://community.sonarsource.com/u/Jeff-Tian)\
**Replies:** 3\
**Last updated:** [May 11, 2020, 3:18pm UTC](https://community.sonarsource.com/t/sonar-scan-failed-by-org-sonarsource-dotnet-shared-plugins-wrongencodingfilefilter-has-unsatisfied-dependency/7510 "2020-05-11T15:18:55Z")

</div>

I am using latest SonarQube community server(from docker) and I configured my project in jenkins. The sonar scan step failed by: org.sonarsource.dotnet.shared.plugins.WrongEncodingFileFilter has unsatisfied dependency …

---

## [Encoding detected by Roslyn and encoding used by SonarQube do not match for file](https://community.sonarsource.com/t/encoding-detected-by-roslyn-and-encoding-used-by-sonarqube-do-not-match-for-file/1103)

<div class="topic-metadata">

**Author:** [@Hilal\_Emeksiz](https://community.sonarsource.com/u/Hilal_Emeksiz)\
**Replies:** 1\
**Last updated:** [January 21, 2019, 2:54pm UTC](https://community.sonarsource.com/t/encoding-detected-by-roslyn-and-encoding-used-by-sonarqube-do-not-match-for-file/1103 "2019-01-21T14:54:53Z")

</div>

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 …

---

## [Project Name with "accents" or "ñ" character is not working in SonarCloud](https://community.sonarsource.com/t/project-name-with-accents-or-n-character-is-not-working-in-sonarcloud/2178)

<div class="topic-metadata">

**Author:** [@rrecacha](https://community.sonarsource.com/u/rrecacha)\
**Replies:** 3\
**Last updated:** [August 31, 2018, 7:22am UTC](https://community.sonarsource.com/t/project-name-with-accents-or-n-character-is-not-working-in-sonarcloud/2178 "2018-08-31T07:22:44Z")

</div>

Hi !! We have named projects in Spanish, but when running the analysis with Bitbucket Pipelines (Sonar-Scanner), it doesn’t detect the rare characters (accents or “ñ”) EXAMPLE OF NAME: Rubén España Our bitbucket-pipel…
