• Line $review->review_title = substr($review->review_text, 0, 150); (wp-content/plugins/wp-customer-reviews/wp-customer-reviews.php, 725) sometimes converts UNICODE characters to question marks. Replacing that line with $review->review_title = mb_substr($review->review_text, 0, 150, 'UTF-8'); solves the issue.

    https://ww.wp.xz.cn/plugins/wp-customer-reviews/

The topic ‘Damage UTF-8 by substr()’ is closed to new replies.