<div dir="ltr">Hi,<div>Karam made an interesting discovery for Bug 10176 [1],</div><div style>putting "use utf8;" on Search.pm fixes URL of facets (not</div><div style>display well for me, but url works).</div><div style>
<br></div><div style>Digging a little I found that on line 574 of master Search.pm</div><div style>there is a strange symbol (last between []). Seems to be an</div><div style>inverted question mark. Karam saids that is Arabic one.</div>
<div style><br></div><div style><div>572:# Sanitize the link value : parenthesis, question and exclamation mark will cause errors with CCL</div><div>573-                                my $facet_link_value = $one_facet;</div>
<div>574-                                $facet_link_value =~ s/[()!?¡¿؟]/ /g;</div><div>575-</div><div><br></div></div><div style>Question: this char is a typo? Was introduced on Bug 9183 [2]</div><div style><br></div><div style>
'use utf8;' fixes the substitute, and the URLs.</div><div style>Also removing that char gives the same effect (without 'use utf8:'</div><div style><br></div><div style>Patch is from jcamins</div><div><br></div>
<div style>Regards,</div><div style>bernardo</div><div style><br></div><div>[1] <a href="http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10176">http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10176</a></div>
<div>[2] <a href="http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9183">http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9183</a></div><div><br clear="all"><div>-- <div>Bernardo Gonzalez Kriegel</div><div>
<a href="mailto:bgkriegel@gmail.com" target="_blank">bgkriegel@gmail.com</a></div></div>
</div></div>