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

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

    XMLWordPrintable

Details

    • 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

        1. Screen Shot 2017-09-06 at 10.26.25.png
          67 kB
          Pau Ferrer
        2. wordcount.png
          475 kB
          Anna Krassa

        Issue Links

          Activity

            People

              zig Zig Tan (Inactive)
              pferre22 Pau Ferrer
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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