As part of an addon for a client I have built a z3c.form based form to make a search query. I made this in a z3c.form to have the rendering of the form using Plone's standard z3c.form template, because the client has it customized in his Plone site to have the look and feel of all forms the same. The client wants that the search results appear batched, so I create a Batch with the results. So far so good.
But if I enter an accented char as the search value, as z3c.form converts the values to unicode, the code on ZTUtils.Zope that creates the batch links breaks with a UnicodeDecodeError because tries to convert to string that unicode value.
So my question is: is there in Plone any z3c.form based form that makes a search query and returns the results batched or has anyone any hint to make this work.
If there is no way to make this work I would need to rewrite the form manually instead of using z3c.form.
Thanks in advance,