Looking for a custom TastyIgniter theme or extension development? Request a quote now!
Would be good to know exactly where/what the issue is as replacing the function everywhere might have unwanted effect on other parts of the system.
Thank you, that helped.
I've replaced substr with codeigniter character_limiter(), since the substr function is mostly used in the code to limit characters from database data and the multibyte encoding issue would likely come from database data.
This function incorrect work with multibyte encoding.
Please replace to mb_substring.
Just do not remember. For example, in places where the autocomplete is used.