-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text file considered as binary #23
Comments
Thanks for the report. Clearly, there is a mismatch between the encoding of the file and the encoding the plugin is using. Could you please provide the following info to be able to tell if this is a bug or just a misconfiguration? (1) What is the encoding of the file? (2) Have you set the encoding at the Maven level for all files, via (3) Have you set |
Hi!
Yes. Below is my
|
Thanks, let me try to reproduce it. |
Yes, this is definitely a misconfiguration. You instruct the plugin to handle the file as UTF-8 but in reality the file is ISO-8859-1. It will work if you add something like the following to the bottom of your .editorconfig file:
|
Add a test for .editorconfig charset property; resolves #23
Add a test for .editorconfig charset property; resolves ec4j#23
The attached text file is considered as binary, resulting in build failure. If you remove the accented characters the problem will disappear.
simplelogger.properties.zip
Command
mvn org.ec4j.maven:editorconfig-maven-plugin:check -Deditorconfig.excludes="db/**,log/**"
Maven output
Maven output with relevant stacktrace
The text was updated successfully, but these errors were encountered: