Encoding errors with catalog searches
This fixes some regressions introduced by https://lab.nexedi.com/nexedi/erp5/merge_requests/1545 when searching the catalog for non ascii text
This fixes some regressions introduced by https://lab.nexedi.com/nexedi/erp5/merge_requests/1545 when searching the catalog for non ascii text