Charset detection from HTML

If HTTP headers do not contain charset declaration, then it is detected from HTML content.