[Bug 13801] New: SVC bib bad encoding
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Bug ID: 13801 Summary: SVC bib bad encoding Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Web services Assignee: koha-bugs@lists.koha-community.org Reporter: josef.moravec@gmail.com QA Contact: testopia@bugs.koha-community.org If you want to get marcxml bibliographic record through /svc/bib service, it return national characters badly (possibly double?) encoded. Like this: <datafield tag="653" ind1="0" ind2=" "> <subfield code="a">historické romány</subfield> <subfield code="a">JežÃÅ¡ Kristus</subfield> <subfield code="a">Jeruzalém</subfield> <subfield code="a">životopis</subfield> </datafield> It should be: <datafield tag="653" ind1="0" ind2=" "> <subfield code="a">historické romány</subfield> <subfield code="a">Ježíš Kristus</subfield> <subfield code="a">Jeruzalém</subfield> <subfield code="a">životopis</subfield> </datafield> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Mike <black23@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |black23@gmail.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Dobrica Pavlinusic <dpavlin@rot13.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dpavlin@rot13.org --- Comment #1 from Dobrica Pavlinusic <dpavlin@rot13.org> --- I can't seem to reproduce this bug on current master. Do you see that on all or just some records? Do you see it on all fields? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 --- Comment #2 from Mike <black23@gmail.com> --- Hello, problem is in all tested records and fields. I can give You access into our testing server, if it help. Complete example: http://pastebin.com/n6Fg0Ase Thanks Mike -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 --- Comment #3 from Josef Moravec <josef.moravec@gmail.com> --- I've just tried the the master version from git now, on another server (new clean virtual with debian wheezy). I've imported this record from library of congress: http://lccn.loc.gov/59046328 and then tried to access it through http://<staff-interface>/cgi-bin/koha/svc/bib/1 accessed through browser (Firefox and Chromium): http://pastebin.com/ueb58YKZ downloaded using curl: http://pastebin.com/LG09JjeB through browser, the encoding seems bad, through curl everything is ok... could be some problem with http headers? (just guess) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@biblibre.co | |m, katrin.fischer@bsz-bw.de -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 --- Comment #4 from Jonathan Druart <jonathan.druart@biblibre.com> --- I reproduce the issue. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 --- Comment #5 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 36658 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36658&action=edit 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 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Josef Moravec <josef.moravec@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #36658|0 |1 is obsolete| | --- Comment #6 from Josef Moravec <josef.moravec@gmail.com> --- Created attachment 36668 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36668&action=edit 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> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Josef Moravec <josef.moravec@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off --- Comment #7 from Josef Moravec <josef.moravec@gmail.com> --- Works as expected, thank you Jonathan. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |jonathan.druart@biblibre.co |ity.org |m -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #36668|0 |1 is obsolete| | --- Comment #8 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 36906 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36906&action=edit [PASSED QA] 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> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |tomascohen@gmail.com --- Comment #9 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Patch pushed to master. Thanks Jonathan! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtj@kohaaloha.com Keywords| |rel_3_16_candidate -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable CC| |chris@bigballofwax.co.nz --- Comment #10 from Chris Cormack <chris@bigballofwax.co.nz> --- Pushed to 3.18.x will be in 3.18.6 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Fridolin SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolyn.somers@biblibre.co | |m --- Comment #11 from Fridolin SOMERS <fridolyn.somers@biblibre.com> --- Was pushed in 3.16.09 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Fridolin SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch --- Comment #12 from Fridolin SOMERS <fridolyn.somers@biblibre.com> --- Pushed to 3.14, will be in 3.14.15. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13801 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rel_3_16_candidate | --- Comment #13 from Mason James <mtj@kohaaloha.com> --- (In reply to Fridolin SOMERS from comment #11)
Was pushed in 3.16.09
oops, thanks for spotting that Fridolin :0) -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org