Get the content charset from header and html content-type.