-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
from_bytes
vs CLI results
#180
Comments
Thanks for the detailed issue report. Debuggingfrom charset_normalizer import from_path
if __name__ == "__main__":
results = from_path("./file.xml", cp_isolation=['cp1251', 'mac_greek'], explain=True)
Default diverging between CLI and codeIf you look at, The default assigned for Manually setting it to Why does it say its mac_greekSimply said, the mess-detector does not like |
Thanks for your reply. |
Describe the bug
Encoding from
from_bytes
method is different from encoding from CLI usage with the same fileTo Reproduce
The repository with full example: https://github.com/oleksandr-kuzmenko/charset-normalizer-test
Desktop:
The text was updated successfully, but these errors were encountered: