Paulo Levi Thu, 26 Nov 2009 07:39:09 -0800
There should be other methods other than getCharSetSpec in this exception, simply because when the html parser detects a changed charset from the reader, "text/html; charset=utf-8" is perfectly useless to recover.
What is needed is plain "utf-8".