Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2010 at 13:07 UTC
Updated:
21 Aug 2010 at 09:30 UTC
Jump to comment: Most recent
Comments
Comment #1
rfayI'm certain this bug should not be against API module, but rather Drupal core.
What version of Drupal core? 6 or 7?
Comment #2
unnikrishnan commentedWe are using drupal core version 6.17
Comment #3
rfayThis would have to be fixed first in Drupal 7 if it's an issue there. Could you please test in D7 to see if it's an issue?
Comment #4
unnikrishnan commentedIn 7.0-alpha6 the bug persists. Now when we run the following code
$str1 = "നാല് രാജ്യങ്ങളിലെ ജനങ്ങള് ഉപയോഗിക്കുന്ന യോര്ദ്ദാന് നദിയിലെ";
$str2 = drupal_html_to_text($str1);
print strlen($str1) ." ". strlen($str2);
length of $str1 is 199 and $str2 is 203.
Comment #5
rfayOK, moving to 7.x. After it's fixed there it can come back to 6.x.
Your best approach on this one is to debug it if you can and post a patch.