https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31351
--- Comment #33 from Marcel de Rooy <[email protected]> --- (In reply to Tomás Cohen Arazi from comment #32) > FTR: the JSON::encode_json and JSON::decode_json methods deal with UTF-8 [1] > and I'm not sure why there's a ->utf8(0) being set. > > Overall, I think we should go the bug 30943 path. Take UpdateElasticIndex > (as tweaked by bug 30360) as a reference. Please check the comments earlier. We should not do the UTF8 conversion in the middle of the process but when storing only. The uf8(0) is just a confirmation of using this default from the JSON OO object. To make it explicit. There were inconsistencies in the codebase that are addressed here. I would recommend going further here. Moving to the helpers is fine of course. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
