Closed (won't fix)
Project:
Content Construction Kit (CCK)
Version:
5.x-1.6-1
Component:
text.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Sep 2007 at 19:58 UTC
Updated:
11 Jan 2012 at 16:39 UTC
Jump to comment: Most recent file
Comments
Comment #1
magway@drupal.ru commentedSolution.
In function text_field() (file text.module) replace line
if (strlen($data['value']) > $field['max_length']) {with
if (mb_strlen($data['value'],"UTF-8") > $field['max_length']) {That seems to work.
Comment #2
Shaltay commentedHello.
Using drupal_strlen() seems to be a better solution
Comment #3
tema commentedThe Russians are still not coming? Ok, here's a patch.
Comment #4
karens commentedThe D5 version is no longer being supported. Sorry.