]> git.koha-community.org Git - koha.git/commit
Bug 10176: Solve the Invalid URLs in 'Refine Search Results' when it uses UNICODE...
authorKaram Qubsi <karamqubsi@gmail.com>
Sat, 4 May 2013 20:44:57 +0000 (23:44 +0300)
committerChris Cormack <chris@bigballofwax.co.nz>
Fri, 10 May 2013 23:18:45 +0000 (11:18 +1200)
commit5000709e138318fc7143949e95c47666e2448839
treedf36dadd117a5bd5680315bc464d9df21610a738
parentf3ea66e80d6f6e733866f60a657f28ce57ad086d
Bug 10176: Solve the Invalid URLs in 'Refine Search Results' when it uses UNICODE symbols

I just add use utf8; to the Search.pm and the problem
was solved .

Test plan :
1- Add bib records with non-latin characters
2- search for some of these records
3- try to refine your search using Subject / Author

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Comment: Work fixing URLs in facets. Now they work correctly.
No errors.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.

I tested facets with the 22 Arabic records provided on
bug 9579 successfully. Before the patch the links are not
correct, after applying the patch the links work as
expected.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit 2d29440c5ade462bf6939f2ab32b5ec9c2c1b377)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit ff7dc4ec4a7e7034ccab5f31e3a7de7f686475ba)

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
use utf8;
Does not do what most people think it does, all it does is
utf8 - Perl pragma to enable/disable UTF-8 (or UTF-EBCDIC) in source
code

IE allow Search.pm to contain utf8 chars. It does not affect any thing
else

From the Man Page

The use utf8 pragma tells the Perl parser to allow UTF-8 in the
program text in the current lexical scope (allow UTF-EBCDIC on EBCDIC
based platforms). The no utf8 pragma tells Perl to switch back to
treating the source text as literal bytes in the current lexical scope.
Do not use this pragma for anything else than telling Perl that your
script is written in UTF-8. The utility functions described below are
directly usable without use utf8; .
C4/Search.pm