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

PSpell UTF-8 issue

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1/ install php-pspell extension and some dictionaries
      2/ configure TinyMCE to use PSpell extension and add spell checked languages for all your installed dictionaries
      3/ type some hebrew or any other language that uses non-ascii chars in editor
      4/ verify the invalid words are highlighted
      5/ verify suggestions do not contain double encoded chars

      Show
      1/ install php-pspell extension and some dictionaries 2/ configure TinyMCE to use PSpell extension and add spell checked languages for all your installed dictionaries 3/ type some hebrew or any other language that uses non-ascii chars in editor 4/ verify the invalid words are highlighted 5/ verify suggestions do not contain double encoded chars
    • Workaround:
      Hide

      Using the patch attached it worked like a charm.

      Show
      Using the patch attached it worked like a charm.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w52_MDL-30953_m23_pspell

      Description

      The PSpell spell-checker plug-in of the tinymce editor doesn't behave well with utf-8, I tested this with Hebrew, at first it didn't give any results, after tinkering with it I arrived at the suggested patch attached to this issue.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            dhg David Hai Gootvilig
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Gerard Caulfield
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, cameron1729, David Mudrák (@mudrd8mz), Helen Foster
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Jan/12