Multibyte strlen for Editor
Multibyte strlen for Editor
gboussin
Posts: 13Questions: 4Answers: 0
in Bug reports
Dear all,
In Editor last version, in Editor/Validate.php, the functions minLen and maxLen use strlen instead of a multibyte version of strlen, thus if using UTF8 the letter with accents count for 2, and validation fails.
Regards,
Gilles Boussin
This discussion has been closed.
Replies
Hi Gilles,
Good point - thanks for noting that. I've added a bug to our tracker for that to be fixed in the next patch of Editor (1.8.2).
Allan
Thanks