-
Notifications
You must be signed in to change notification settings - Fork 145
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
return encoding from detect methods #107
Comments
Hi @kostya <html>
<meta charset=cp-1251>
<body>
����
</body>
</html> some like or you can act differently, you can give a complete list of encodings in the format:
I supported all in this list |
yes, i mean cut substring "cp-1251" (when not detected), and return to me, and i detect it by myself. |
There is not so easy to return the encoding raw data, all api will break. I think about how to do it |
thanks |
would be nice if
myhtml_encoding_prescan_stream_to_determine_encoding
andmyhtml_encoding_extracting_character_encoding_from_charset
return finded encoding as string also. example:return MyENCODING_DEFAULT and "cp-1251". and i can use my detector.
It needed because myhtml not detect all encodings (with misprints), but browser detects.
The text was updated successfully, but these errors were encountered: