Skip to content

Check if file is text file #2

@chebread

Description

@chebread

Need to implement a function that accurately determines whether a file is a text file.

The function to check if it is a text file currently relies on the mimetypes standard Python library.
It is difficult to accurately determine if it is a text file using that library.

The function should be implemented perfectly without using the python-magic library.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions