[Bug 6996] New: Encoding problem in opac-showmarc
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 Bug #: 6996 Summary: Encoding problem in opac-showmarc Classification: Unclassified Change sponsored?: --- Product: Koha Version: master Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: OPAC AssignedTo: oleonard@myacpl.org ReportedBy: m.de.rooy@rijksmuseum.nl QAContact: koha-bugs@lists.koha-community.org This problem is related to bug 5616. If you click on Plain view in the OPAC MARC detail view, accented characters are not displayed correctly. This comes from opac-showmarc.pl. The output coming back from the xslt processor should be decoded in order to resolve the problem. Sending a patch. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |PATCH-Sent See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=5616 AssignedTo|oleonard@myacpl.org |m.de.rooy@rijksmuseum.nl -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 --- Comment #1 from M. de Rooy <m.de.rooy@rijksmuseum.nl> 2011-10-10 10:19:05 UTC --- Created attachment 5822 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5822 Patch -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch Status|--- |Needs Signoff -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #5822|0 |1 is obsolete| | --- Comment #2 from M. de Rooy <m.de.rooy@rijksmuseum.nl> 2011-10-10 11:04:31 UTC --- Created attachment 5823 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5823 Patch Small additional adjustment -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 --- Comment #3 from M. de Rooy <m.de.rooy@rijksmuseum.nl> 2011-10-10 13:02:36 UTC --- Note that it is not needed to decode data from LibXSLT if the stylesheet contains the instruction to use UTF8. (See CPAN.) Extending the code therefore with a test on utf8 flag. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #5823|0 |1 is obsolete| | --- Comment #4 from M. de Rooy <m.de.rooy@rijksmuseum.nl> 2011-10-10 13:13:04 UTC --- Created attachment 5827 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5827 Revised patch Last revision ;) -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #5827|0 |1 is obsolete| | --- Comment #5 from M. de Rooy <m.de.rooy@rijksmuseum.nl> 2011-10-10 13:15:37 UTC --- Created attachment 5828 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5828 Revised patch Oops, wrong version.. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> 2011-10-10 22:01:49 UTC --- Created attachment 5831 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5831 screenshot before patch Hi Marcel, I used a record with German umlauts for testing and made sure, they were correctly cataloged. The umlauts show correctly on the other views, but on plain MARC view they are broken before and after applying for patch. Do I miss something? -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 --- Comment #7 from Katrin Fischer <katrin.fischer@bsz-bw.de> 2011-10-10 22:02:09 UTC --- Created attachment 5832 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5832 screenshot after patch was applied -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de Patch Status|Needs Signoff |Failed QA -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 --- Comment #8 from M. de Rooy <m.de.rooy@rijksmuseum.nl> 2011-10-12 12:48:03 UTC --- Hi Katrin, Thanks for testing. I guess that your problem had to do with using only characters with accents from the Latin range. I could repeat your problem with some umlauts on vowels. When I adding non-Latin unicode chars, the display was correct again. The Latin chars only do not set the UTF8 flag. The other chars do set the UTF8 flag. I corrected the problem by specifically adding utf8 on the output handle (giving perl no chance to make the wrong guess). New patch forthcoming. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #5828|0 |1 is obsolete| | --- Comment #9 from M. de Rooy <m.de.rooy@rijksmuseum.nl> 2011-10-12 12:53:37 UTC --- Created attachment 5850 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5850 Revised patch -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch Status|Failed QA |Needs Signoff -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #5850|0 |1 is obsolete| | --- Comment #10 from Katrin Fischer <katrin.fischer@bsz-bw.de> 2011-10-12 20:55:07 UTC --- Created attachment 5864 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5864 [SIGNED-OFF] Bug 6996: Encoding problem in opac-showmarc Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> No more encoding problems spotted. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch Status|Needs Signoff |Signed Off -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.poulain@biblibre.com Patch Status|Signed Off |Passed QA --- Comment #11 from Paul Poulain <paul.poulain@biblibre.com> 2011-10-18 15:19:12 UTC --- QA comment : * good description * works also with UNIMARC (and the problem also existed in UNIMARC) Marking passed QA -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #5864|0 |1 is obsolete| | --- Comment #12 from Paul Poulain <paul.poulain@biblibre.com> 2011-10-18 15:19:28 UTC --- Created attachment 5956 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5956 Bug 6996: Encoding problem in opac-showmarc Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> No more encoding problems spotted. Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@bigballofwax.co.nz Patch Status|Passed QA |Patch Pushed --- Comment #13 from Chris Cormack <chris@bigballofwax.co.nz> 2011-10-19 03:39:53 UTC --- Pushed, please test -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6996 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org