Hello,
On Enfold theme, some text on the page changed strange charactor in Japanese.
It cause of using Enfold ‘substr ‘, we must use ‘mb_substr’ for double byte characters development.
What PHP code line I should replace to mb_’mb_substr’ from ‘substr ‘?
This is a sample captures (Not enfold, reference about ‘substr ‘ problem as same as mine ;
With ‘substr ‘
http://www.nishi19-bn.com/wp-content/uploads/2012/11/slider_before_20121116jpg.jpg
With ‘mb_substr’
http://www.nishi19-bn.com/wp-content/uploads/2012/11/slider_after_20121116jpg.jpg
Regards,
Megumi
I would like to erase unwanted black square characters in the text line.
Could you please help to update Enfold PHP code from ‘substr ‘(single byte) to ’mb_substr'(multi byte)?
Hi nimbusworks,
This thread might help you
https://kriesi.at/support/topic/black-diamond-with-a-question-mark-enfold-combo-widget/
If you need further assistance please let us know.
Best regards,
Victoria
I follow the thread and update the PHP but got error;
Parse error: syntax error, unexpected ‘substr’ (T_STRING) in /home2/nimbuswo/public_html/arcobaleno/2017/wp-content/themes/enfold/framework/php/function-set-avia-backend.php on line 255
What’s wrong with it? I use Enfold child theme.