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

Fix false negative with HZ detection #129

Conversation

jairbubbles
Copy link
Contributor

I'm not too familiar with HZ sequence but it seems like a very corner case and it prevents some files to be decteded as ASCII.
I'm proposing a very WIP fix, let me know your thoughts!

@304NotModified
Copy link
Member

looks good to me. What do you think @rstm-sf?

src/CharsetDetector.cs Outdated Show resolved Hide resolved
@jairbubbles
Copy link
Contributor Author

Let me know if I need to make other changes.

@304NotModified 304NotModified merged commit 975bc42 into CharsetDetector:master Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants