Subject: | fix two pod errors |
Hi,
the following patch is forwarded from the Debian package of WWW-Search-AltaVista. It fixes a POD error "Around line 33: Non-ASCII character seen before =encoding..."
Florian
--- 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('Zürich'),
{ '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('Zürich'),
{ 'enc' => 'iso88591'},
);