Incorrect detection page charset by meta-tag "Content-Type":
For example:
1) correct detection
<meta http-equiv="Content-Type" content="text/html;charset=windows-1251">
2) incorrect detection,
<meta http-equiv="content-type" content="text/html;charset=windows-1251">
It's happens in simple_html_dom.php, ~1207 line:
$el = $this->root->find('meta[http-equiv=Content-Type]',0);
The selector 'meta[http-equiv=Content-Type]' case-sensitive and works only for http-equiv="Content-Type", not for http-equiv="content-type"
$el = $this->root->find('meta[http-equiv=Content-Type]',0); // Old
$el = $this->root->find('meta[http-equiv=Content-Type]',0,true); //New
Just uploaded the version with the ",true" added to it.
Thanks for finding it, and letting me know.