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

PSpell UTF-8 issue

    XMLWordPrintable

Details

    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE
    • w52_MDL-30953_m23_pspell
    • Hide

      Using the patch attached it worked like a charm.

      Show
      Using the patch attached it worked like a charm.
    • 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

    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

            skodak Petr Skoda
            dhg David Hai Gootvilig
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Gerard Caulfield Gerard Caulfield
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Jan/12