Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-14377

UTF8 bad encoding in result lines of the global search engine.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.6, 1.9.1
    • 1.8.5, 1.9
    • Global search
    • None
    • Any
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      In some languages which use extensively UTF8 encoding for extra chars, results of the search give lines that are abusively double encoded in UTF8, resulting in bad display of those titles.

      This is resolved in using the xxxxxxxx_link_post_processing($title) callback in each document so title can be backcoded properly to UTF8 by :

      mb_convert_encoding($title, 'UTF-8', 'auto');

      (as a default processing).

            vf Valery Fremaux
            vf Valery Fremaux
            Dongsheng Cai Dongsheng Cai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.