From: Rousseau, J. R. <JRR...@Ba...> - 2004-12-09 21:46:49
|
Hi All, I found this old message in the archive concerning a "UnexcpectedPage" problem. I still have this problem and it happens only if a specify a specific charset. Any news on this bug ? thanks, Jean-Rene Rousseau ---------------------------------------------------------------------------- ---- >Raj Wagle wrote: > If a page is sent without the "Content-Type" response header, but is specified as follows: > <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-5"> > > seems either htmlunit or httpclient is unable to handle it correctly. > > The page gets returned as "UnexpectedPage". > Any thoughts? I thought that commons-httpclient would take care of this automatically - I remember discussions about this on their mailing list a while ago. To work around this, you could register a custom PageCreator with the WebClient. Please open a bug report for this. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mbowler@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |