Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.2
-
Fix Version/s: 3.2
-
Component/s: Core CiviCRM
-
Labels:None
Description
When using languages with non-ascii characters, the substr function that truncates displayed names will sometimes cut in the middle of a multi-byte unicode caracter (ex: in recently viewed items/contacts).
As discussed during the translation sprint, we should wrap over substr calls with a CRM/Utils function that uses mb_substr if available.