Work on character encoding support for the HTML parser Fixed some autoopen/autoclose probs for the HTML parser Fixed a potential memleak in the encoding stuff Daniel.