Closed (fixed)
Project:
NLM Field
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 Oct 2014 at 10:09 UTC
Updated:
31 Oct 2014 at 16:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
suhel.rangnekar commentedsubstr does not work with multibyte characters (i.e special character like Á). so
replacing substr to mb_substr to handle special character.
Submitting a patch for this issue.
Comment #2
suhel.rangnekar commentedComment #3
suhel.rangnekar commentedRefactoring the patch.
Please find latest attached patch.( nlmfield-replacing_substr_to_mb_substr-2354069-3.patch )
Comment #4
rahul.shindeInstead of mb_string i will make use of drupal_substr(). Because we are targeting large audience, and there might be chances people tends to set UNICODE_MULTIBYTE to 0.
Attaching patch for this changes.
Comment #5
danmcewan commentedGood catch rahul.
Comment #7
rahul.shinde