[Koha-bugs] [Bug 17842] Broken diacritics on records exported as MARC from cart

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 5 10:35:26 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17842

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Passed QA
                 CC|                            |julian.maurice at biblibre.com

--- Comment #51 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to David Cook from comment #47)
> (In reply to Jonathan Druart from comment #46)
> > I think the whole block could be:
> > 
> > $output .= encode("UTF-8", $record->as_usmarc()) // q{};
> > 
> > From Encode::encode POD:
> >   "If the $string is undef, then undef is returned."
> 
> Personally, I don't like putting method output directly into another
> function call, as it can make exception handling harder. 

I don't like it either, but it should be harmless in this particular case.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list