From eda73cb412cd6e38f80b1b20ef9e06a1bbafd94a Mon Sep 17 00:00:00 2001
From: Chris Cormack <chris@bigballofwax.co.nz>
Date: Sun, 20 May 2012 21:34:35 +1200
Subject: [PATCH] Bug 7967 : Followup set encoding options for
 acqui/z3950_search.pl

---
 acqui/z3950_search.pl |    1 +
 1 file changed, 1 insertion(+)

diff --git a/acqui/z3950_search.pl b/acqui/z3950_search.pl
index 9dc8b6e..1111e06 100755
--- a/acqui/z3950_search.pl
+++ b/acqui/z3950_search.pl
@@ -202,6 +202,7 @@ warn "query ".$query  if $DEBUG;
             $option1->option( 'user', $server->{userid} ) if $server->{userid};
             $option1->option( 'password', $server->{password} )
               if $server->{password};
+            $option1->option('charset',      'UTF-8') if $server->{encoding} eq 'utf8';
             $option1->option( 'preferredRecordSyntax', $server->{syntax} );
             $oConnection[$s] = create ZOOM::Connection($option1)
               || $DEBUG
-- 
1.7.10