[Koha-bugs] [Bug 31351] Worker dies on reindex job when operator last name/first name/branch name contains non-ASCII chars

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 6 22:11:22 CEST 2022


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

--- Comment #9 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
(In reply to Joonas Kylmälä from comment #4)
> I'm wondering whether the fix is correct, and whether the other encode_utf8
> calls in the same file are the right way to deal with encoding. Shouldn't we
> already decode the data as Perl's internal string when we read the data?

Did some more research and I think we definitely shouldn't do unnecesary
encoding and decoding. I attached and alternative patch that removes the
unecessary transcoding, which also fixes the bug. For more details see the
patch description.

Please remove "ALTERNATIVE" from the patch title before pushing if it will be
the fix chosen.

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


More information about the Koha-bugs mailing list