CJK tags do not have correct class name

Steps to reproduce

The tag in editor mode has class name: “cm-tag-{tag-name}”

for example: #todo has class name “cm-tag-todo”

but when tag has CJK character, the class name not work: #待办 has class name “cm-tag-”

Expected result

the tag with CJK character #待办 should have class name “cm-tag-待办”

Additional information


Css classes cannot have cjk characters.

They only support alpha numeric

Can we use other ways to identify a CJK tag? For example, escaping.