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

Word count bug, does not support Chinese

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.4.7, 4.5, 5.0
    • General
    • MOODLE_404_STABLE, MOODLE_405_STABLE, MOODLE_500_STABLE

      When it comes to counting word count, such as online texts for assignments or discussions in forum areas. The default statistical method is to count one word as one word count, but in Chinese, our usual statistical method is to count one Chinese character as one word count.
      Actually, the tiny editor's statistics are basically correct, but there is a bug in the Moodle library's statistics function
      My current approach is to modify the countw_ord function of moodlelib.php.
      I wrote an article reference:
      https://zhuanlan.zhihu.com/p/31879600057

            Unassigned Unassigned
            swuhxh swuhxh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 14 minutes
                14m

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