Feature description
Support the charset for the .editorconfig files:
- lint: Check that the files use the configured char set
- fix: Change the char set for files which uses the wrong one
Benefits
To ensure the correct char set in all files, if the charset property is set via .editorconfig.
Resources
- ec4rs - Crate to access the EditorConfig properties of files
- Documentation of the property
- Crates to handle / convert different encodings
### Feature description
Support the `charset` for the `.editorconfig` files:
- lint: Check that the files use the configured char set
- fix: Change the char set for files which uses the wrong one
### Benefits
To ensure the correct char set in all files, if the `charset` property is set via `.editorconfig`.
### Resources
- [ec4rs](https://crates.io/crates/ec4rs) - Crate to access the EditorConfig properties of files
- Documentation of the property
- [in the crate](https://docs.rs/ec4rs/latest/ec4rs/property/enum.Charset.html)
- [in the specification](https://spec.editorconfig.org/#supported-pairs)
- Crates to handle / convert different encodings
- [encoding_rs_rw](https://crates.io/crates/encoding_rs_rw)
- [encoding_rs](https://crates.io/crates/encoding_rs)
- [charset-normalizer-rs](https://crates.io/crates/charset-normalizer-rs)