Non english words (characters) not counted

Steps to reproduce

  • Create an empty document
  • Add a new item.
  • Type the word שלום in the item you just added (you can copy and paste it from here and try for yourself).

Expected result

Word count should become 1

Actual result

Word count stays at 0.
This is true in new documents or existing documents. Words made of non a-z characters don’t get counted.

Environment

Which operating system are you using? macOS Catalina
Which browser are you using? Firefox
Are you using any third-party scripts for Dynalist, e.g. PowerPack? Nope


Additional comments

Being a web developer myself, I’m suspecting a regex issue. Please see here for a simple solution, if it is indeed the issue.

I would be more than happy to be a beta tester (or help behind the scenes) with issues related to RTL support or internationalization.