#129 incorrect detection page charset by meta-tag "Content-Type"

v1.0_(example)
open
nobody
None
1
2013-07-12
2013-07-12
Kirill Bychkov
No

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"

Discussion