1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Description: fix two pod errors in WWW::Search::AltaVista
"Around line 33: Non-ASCII character seen before =encoding..."
Author: Florian Schlichting <fsfs@debian.org>
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=89510
--- a/altavista/lib/WWW/Search/AltaVista/Intranet.pm
+++ b/altavista/lib/WWW/Search/AltaVista/Intranet.pm
@@ -31,6 +31,8 @@
you must tell AVI how to interpret 8-bit characters.
Add an option for 'enc' to the native_query() call:
+=encoding ISO8859-1
+
$oSearch->native_query(WWW::Search::escape_query('Zrich'),
{ 'enc' => 'iso88591'},
);
--- a/altavista/lib/WWW/Search/AltaVista/Intranet3.pm
+++ b/altavista/lib/WWW/Search/AltaVista/Intranet3.pm
@@ -30,6 +30,8 @@
you must tell AVI how to interpret 8-bit characters.
Add an option for 'enc' to the native_query() call:
+=encoding ISO8859-1
+
$oSearch->native_query(WWW::Search::escape_query('Zrich'),
{ 'enc' => 'iso88591'},
);
|