Bugzilla – Attachment 37346 Details for
Bug 13886
Add ability to merge records directly from cataloging search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13801: svc/bib - Set charset to utf-8 on printing header
Bug-13801-svcbib---Set-charset-to-utf-8-on-printin.patch (text/plain), 1.27 KB, created by
Nicole C. Engard
on 2015-03-29 20:17:01 UTC
(
hide
)
Description:
Bug 13801: svc/bib - Set charset to utf-8 on printing header
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2015-03-29 20:17:01 UTC
Size:
1.27 KB
patch
obsolete
>From 4e5021358e32b2948b33c9466f65138d55c90a16 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 6 Mar 2015 10:55:12 +0100 >Subject: [PATCH] Bug 13801: svc/bib - Set charset to utf-8 on printing header > >Test plan: >0/ Add unicode characters on the record biblionumber=X >1/ go on http://<staff-interface>/cgi-bin/koha/svc/bib/X >2/ Confirm you have encoding issues >3/ Apply the patch >4/ Repeat 2 >5/ Confirm that all is correctly encoded > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> > >http://bugs.koha-community.org/show_bug.cgi?id=13886 >--- > svc/bib | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/svc/bib b/svc/bib >index ef1e41c..43e256b 100755 >--- a/svc/bib >+++ b/svc/bib >@@ -68,7 +68,7 @@ sub fetch_bib { > my $biblionumber = shift; > my $record = GetMarcBiblio( $biblionumber, $query->url_param('items') ); > if (defined $record) { >- print $query->header(-type => 'text/xml'); >+ print $query->header(-type => 'text/xml',-charset => 'utf-8',); > print $record->as_xml_record(); > } else { > print $query->header(-type => 'text/xml', -status => '404 Not Found'); >-- >1.7.10.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 13886
:
37079
|
37346
|
37347
|
37348
|
37349
|
38052
|
38054
|
38817