Subject: | Test::WWW::Mechanize::Catalyst |
Date: | Tue, 16 Sep 2008 17:17:01 +0100 |
To: | bug-Test-WWW-Mechanize-Catalyst [...] rt.cpan.org |
From: | Alan Hicks <ahicks [...] p-o.co.uk> |
Hi,
If a web page contains Unicode characters then line 92 barfs as
according to the libwww changelog "Don't allow HTTP::Message content to
be set to Unicode strings." so the following line 92 will always fail if
the content has been decoded to Unicode.
$response->content( $response->decoded_content );
There is an excellent reference at http://www.perlmonks.org/?node_id=683833
Thanks,
Alan