We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This library correctly handles GB18030 when a BOM is present, however it doesnt detect correctly when the BOM is missing.
chardet and most chardet-like libraries have similar problems. c.f. chardet/chardet#178 , thombashi/mbstrdecoder#3, and PyYoshi/cChardet#45
b'\xc4\xe3\xba\xc3' is detected as {'encoding': 'iso-8859-7', 'confidence': 0.34396228194236755} which decodes as ΔγΊΓ.
b'\xc4\xe3\xba\xc3'
{'encoding': 'iso-8859-7', 'confidence': 0.34396228194236755}
ΔγΊΓ
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This library correctly handles GB18030 when a BOM is present, however it doesnt detect correctly when the BOM is missing.
chardet and most chardet-like libraries have similar problems. c.f. chardet/chardet#178 , thombashi/mbstrdecoder#3, and PyYoshi/cChardet#45
b'\xc4\xe3\xba\xc3'
is detected as{'encoding': 'iso-8859-7', 'confidence': 0.34396228194236755}
which decodes asΔγΊΓ
.The text was updated successfully, but these errors were encountered: