fix a bug: handle comment POSTs in character encodings other than the blog's. uses the charset section of the Content-Type header, if specified. this is technically the right thing to do.
fix a bug: handle comment POSTs in character encodings other than the blog's.
uses the charset section of the Content-Type header, if specified. this is
technically the right thing to do.

otherwise, uses the blog's encoding. also tries a few common web character
encodings before giving up.

along the same lines, this sets the Content-Type header in the ajax
XMLHttpRequest, and sets the accept-charset attribute on the comment form.



willkg/douglas,daitangio/pyblosxom,willkg/douglas,daitangio/pyblosxom