Fixed #646: Charset in Content-Type http-equiv meta tag might be parsed incorrectly
merge c8da84d44c638b1fe5b89f555c8eee23b49a8c84