@@ -, +, @@ - To see the bug, you need to have a MARC21/UNIMARC Koha containing authorities having accented, or non-ASCII characters. - You go in bibliographic data entry form. - You select author tag (100/700). - Click on Edit icon. - On auth_finder.pl search dialog box, - On a UNIMARC/MARC21 DB, in Main entry input box, start typing the begining of an heading having extended characters. - The autocompleted search result page displays a mix of extended characters and cryptic characters (UTF-8 bad encoding issue) - Test on MARC21 DB - Test on UNIMARC DB --- authorities/ysearch.pl | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) --- a/authorities/ysearch.pl +++ a/authorities/ysearch.pl @@ -74,6 +74,7 @@ my $i = 0; $value .= $heading->{'heading'} . ' '; } $value = "{\"summary\":\"" . $value . "\"" . "}"; + utf8::decode($value); print nsb_clean($value) . "\n"; $i++; } --