Bugzilla – Attachment 9222 Details for
Bug 7967
Z39.50 client should negotiate encoding with server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7967 - set charset when doing Z39.50 search
Bug-7967---set-charset-when-doing-Z3950-search.patch (text/plain), 1.10 KB, created by
Chris Cormack
on 2012-04-17 09:02:22 UTC
(
hide
)
Description:
Bug 7967 - set charset when doing Z39.50 search
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-04-17 09:02:22 UTC
Size:
1.10 KB
patch
obsolete
>From 4984011736a5f7b4b4b46d03b5d6877a58cd83ec Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chrisc@catalyst.net.nz> >Date: Tue, 17 Apr 2012 21:00:31 +1200 >Subject: [PATCH] Bug 7967 - set charset when doing Z39.50 search > >Original patch from Pongtawat >--- > cataloguing/z3950_search.pl | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/cataloguing/z3950_search.pl b/cataloguing/z3950_search.pl >index 6e6b417..dd23775 100755 >--- a/cataloguing/z3950_search.pl >+++ b/cataloguing/z3950_search.pl >@@ -178,6 +178,7 @@ warn "query ".$query if $DEBUG; > $option1->option('databaseName', $server->{db}); > $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}); > $option1->option( 'timeout', $server->{timeout} ) if ($server->{timeout}); > $oConnection[$s] = create ZOOM::Connection($option1) >-- >1.7.5.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7967
:
9216
| 9222 |
9250
|
9667