[Koha-bugs] [Bug 25774] REST API searches don't handle correctly utf8 characters

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 18 04:30:09 CEST 2020


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

--- Comment #11 from David Cook <dcook at prosentient.com.au> ---
(In reply to Jonathan Druart from comment #8)
> Hum weird, no idea what I did with the test. It should test correctly the
> changes now.
> 
> David, from the JSON pod:
> """
> This module also exports to_json and from_json for backward compatibility.
> These are slower, and may expect/generate different stuff from what
> encode_json and decode_json do, depending on their options. It's better just
> to use Object-Oriented interfaces than using these two functions.
> """
> 
> We should use JSON->decode, see the last patch.

Sounds good to me. Looking at the code for "from_json", I see what they mean,
although they don't articulate it very well. 

I have some more urgent things to attend to, but I'll keep this in my inbox.

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


More information about the Koha-bugs mailing list