jshiell/checkstyle-idea — Issue #26: Charset is not interpreted in RegexpHeader OR Java File Encoding is not respected
Author: simschla
Created: 2012-02-23 10:09:05+00:00
State: open

We use an external file for our HeaderFile Regex. We include it as follows:
```

```

In the file "java.header" we use Non-Iso characters. Also, all our Java-Files are in UTF-8.

If I use ant to run checkstyle with the above configuration, it reports no errors. If I use checkstyle-idea, however, checkstyle reports errors in the form "Line does not match expected header line of ...". I can only guess that checkstyle-idea does either not respect the "charset" setting in Regexp Header (see above) or it does not recognize our Java-Files to be UTF-8 encoded.