[Koha-bugs] [Bug 30150] New: Dutch option in language limits is garbled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 22 00:42:11 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30150

            Bug ID: 30150
           Summary: Dutch option in language limits is garbled
 Change sponsored?: ---
           Product: Koha
           Version: 21.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: ephetteplace at cca.edu
        QA Contact: testopia at bugs.koha-community.org

Created attachment 130998
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130998&action=edit
screenshot of bug

To recreate:

- add Dutch "dut" to the AdvancedSearchLanguages option
- go to the advanced search page /cgi-bin/koha/opac-search.pl
- click open the Language select menu 
- note that the text for Dutch is "nedərlɑns (Dutch)"

It should render as "nedərlɑns (Dutch)" but instead the numerical character
references for the fourth and seventh characters are rendered literally, as if
they were escaped.

I haven't looked into this further so I don't know _why_ this is happening but
Koha's OPAC uses charset=utf-8 so I think we should be able to simply use the
actual characters without any references. Perhaps it's a problem with the
encoding of strings in the database? But when I run a report to pull all the
rows from the `language_descriptions` table, the word "nedərlɑns" renders
correctly.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list