UTF8-unaware test for event name length
-
Hello,
When I try to create an event with non-ascii characters in the name, I get error message about limit of 30 characters. I am using less then 30 characters, but the validation routine is not aware about multibyte nature of UTF-8 and limits string to 30 bytes instead of 30 characters.
Please fix this line to work properly with non-ascii symbols:
if (preg_match('/^.{1,30}$/',$title)) {
Thanks for the calendar!
—
Regards,
Artemy
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘UTF8-unaware test for event name length’ is closed to new replies.