-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.4.7, 4.5, 5.0
-
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