Hello, respected developers.

This module is very good, which solves the problem of repeating node title. But in the use of a small trouble encountered, statistics of Chinese characters have a small problem, no matter how many Chinese characters filled in, will report errors:
chinese

path: src/Plugin/Validation/Constraint/NodeTitleConstraintValidator.php

A condition should be added to the "if" sentence: strlen ($value_title) < $config_value, which works well under Chinese characters. Thank you for providing such a good tool!

Comments

杨圣亮 created an issue. See original summary.

杨圣亮’s picture

杨圣亮’s picture

Issue summary: View changes
杨圣亮’s picture

杨圣亮’s picture

杨圣亮’s picture

krzysztof domański’s picture

你好 杨圣亮

The reason for the incorrect results is also the lack of Unicode support.

Adding Unicode support also to D8

krzysztof domański’s picture

Status: Active » Needs work
renrhaf’s picture

Status: Needs work » Closed (duplicate)
Related issues: +#3000029: Adding Unicode support also to D8

Hi 杨圣亮 !
This should be fixed pretty soon with https://www.drupal.org/project/node_title_validation/issues/3000029#comm...
Once the issue queue is fixed and cleared, we will prepare a new tagged release.