<div dir="ltr">Bernardo,<div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div>Karam made an interesting discovery for Bug 10176 [1],</div><div>putting "use utf8;" on Search.pm fixes URL of facets (not</div><div>display well for me, but url works).</div><div>
<br></div><div>Digging a little I found that on line 574 of master Search.pm</div><div>there is a strange symbol (last between []). Seems to be an</div><div>inverted question mark. Karam saids that is Arabic one.</div>
<div><br></div><div><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>Question: this char is a typo? Was introduced on Bug 9183 [2]</div><div><br></div><div>
'use utf8;' fixes the substitute, and the URLs.</div><div>Also removing that char gives the same effect (without 'use utf8:'</div></div></blockquote><div><br></div><div style>All I did with that line was reindent it. The question mark was added in patch 0e8e6e71332b3f47a9d131b35ee42ead9e8e5702 for bug 8888.</div>
<div style><br></div><div style>Regards,</div><div style>Jared </div></div><div><br></div>-- <br>Jared Camins-Esakov<div>Bibliographer, C & P Bibliography Services, LLC</div><div>(phone) +1 (917) 727-3445</div><div>(e-mail) <a href="mailto:jcamins@cpbibliography.com" target="_blank">jcamins@cpbibliography.com</a></div>
<div>(web) <a href="http://www.cpbibliography.com/" target="_blank">http://www.cpbibliography.com/</a></div>
</div></div>