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

Best practice for large files? #159

Open
machty opened this issue Jan 16, 2021 · 0 comments
Open

Best practice for large files? #159

machty opened this issue Jan 16, 2021 · 0 comments

Comments

@machty
Copy link

machty commented Jan 16, 2021

The charlock_holmes API seems to be string centric, but if have a 50mb file which mostly consists of typical alphabetic/ASCII characters but only has a few non-ASCII characters to distinguish the encodings, what's the best way detect the entire file's encoding without loading the 50mb file (or larger) into memory?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant