apache / apache/maven-checkstyle-plugin

[MCHECKSTYLE-454] Running checkstyle:check when the project is on a path with accents fails

Open
#365 9 comments 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
97
Forks
67
Avg merge
14h 50m
Merged PRs (30d)
6

Description

**[Emmanuel Lécharny](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=elecharny)** opened **[MCHECKSTYLE-454](https://issues.apache.org/jira/browse/MCHECKSTYLE-454?redirect=false)** and commented

PS: also tested with 3.6.0 which has been released, but you haven't marked it as released in JIRA...

If the project I want to check is under a directory where a part of the path contain accents, like:

```
/user/elecharny/téléchargement/apache-sshd-2.15.9
```

then the checkstyle configuration file(in my case, sshd-checkstyle.xml) is either not found, or ignored.

If I rename `téléchargement` to `download`, all is fine.

---

**Affects:** 3.4.0, 3.5.0, 3.6.0

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `checkstyle:check` with the project path containing `téléchargement`, using the mentioned `sshd-checkstyle.xml` configuration, then compare it with the same project under an ASCII-only path. Done means the configuration is found and applied consistently for accented and non-accented paths across the affected plugin versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.