Skip to content
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

Support File Encoding validation #70

Open
insightindustry opened this issue Jan 9, 2021 · 0 comments
Open

Support File Encoding validation #70

insightindustry opened this issue Jan 9, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@insightindustry
Copy link
Owner

It would be good to add support for file encoding validation, specifically for two types of validation and checking:

  • validators.encoding(value) which validates whether value is a valid file encoding type (e.g. string 'UTF-8'
  • checkers.is_encoding(value) which checks against the file_encoding() validator

and

  • validators.encoded(value, encoding) which validates whether value is encoded to the encoding charset
  • checkers.is_encoded(value, encoding) which checks against the encoded() validator
@insightindustry insightindustry added this to the 1.6.0 milestone Jan 9, 2021
@insightindustry insightindustry self-assigned this Jan 9, 2021
@insightindustry insightindustry added the enhancement New feature or request label Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant