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

Assignment word Count is not working with umlauts or asian/arabic languages

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_33_STABLE

      Description

      This issue is related to MOBILE-2217. Word count on assignments is not counting extended chars such as è, â, or ï. I.e the word fünfundfünfzig will be counted as 3 words.

      In the app this is solved changing the Regex to /\S+/gi

      The new Regexp also counts words in arabic or cyrillic. However, the old and the new regexp won't succeed counting Chinese chars.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zig Zig Tan (Inactive)
              Reporter:
              pferre22 Pau Ferrer
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: