Bug 8875

Summary: Cataloging authorithy search plugin displays badly accented characters
Product: Koha Reporter: Frédéric Demians <f.demians>
Component: MARC Authority data supportAssignee: Frédéric Demians <f.demians>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P5 - low CC: gaetan.boisson, kyle, mtj, paul.poulain
Version: 3.10   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 7400    
Bug Blocks:    
Attachments: Cataloging authorithy search plugin displays badly accented characters
Bug 8875 Cataloging authorithy search plugin displays badly accented characters

Description Frédéric Demians 2012-10-04 11:28:36 UTC
How to get this bug:

- 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)

How to test the patch:

- Test on MARC21 DB
- Test on UNIMARC DB
Comment 1 Frédéric Demians 2012-10-04 11:33:22 UTC Comment hidden (obsolete)
Comment 2 Kyle M Hall (khall) 2012-10-05 13:13:47 UTC
Created attachment 12705 [details] [review]
Bug 8875 Cataloging authorithy search plugin displays badly accented characters

How to get this bug:

- 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)

How to test the patch:

- Test on MARC21 DB
- Test on UNIMARC DB

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 3 Paul Poulain 2012-10-24 16:07:13 UTC
testing this patch I can't reproduce the bad behaviour before the patch.
What I did:
Koha > Plus > Cataloguing > default framework > reach 700 field > click on the button to open the popup "auth_finder" > entering "Jér" => I get only valid results, including, for example :
Auffret Jérôme Cécil 

With you patch applied, I get the same -valid- result

Did I miss something ?
Comment 4 Mason James 2012-11-01 09:54:06 UTC
(In reply to comment #3)
> testing this patch I can't reproduce the bad behaviour before the patch.
> What I did:
> Koha > Plus > Cataloguing > default framework > reach 700 field > click on
> the button to open the popup "auth_finder" > entering "Jér" => I get only
> valid results, including, for example :
> Auffret Jérôme Cécil 
> 
> With you patch applied, I get the same -valid- result
> 
> Did I miss something ?

can someone (frederic/kyle) give an example problematic search string?
Comment 5 Gaetan Boisson 2015-10-08 13:21:10 UTC
Just tested and couldn't reproduce the issue. Is it still valid?
Comment 6 Owen Leonard 2016-08-12 12:18:32 UTC
This appears to be fixed in master.