-
Notifications
You must be signed in to change notification settings - Fork 627
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
MCData::stringWithDetectedCharset doesn't work properly with html encoded with windows-1251 #989
Comments
Could you make the content available as a downloadable file? |
Any news? Do you reproduce an issue with my file? |
If you need faster track for analyze, please look for consulting via Astro HQ. |
Is it the correct output for the file you attached? |
Fixed with c1607b6. |
Yes, it is correct output for my file. |
If you call the method with args:
hintCharset = windows-1251
isHTML = true
it tries to decode string with UTF-8 encoding.
The line: charset = charsetWithFilteredHTML(isHTML, hintCharset) sets charset to utf-8.
The text was updated successfully, but these errors were encountered: