Support » Plugin: WP HTML Mail - Email Designer » Encoding problem on WooCommerce

  • Resolved mstudioIL


    I using site in Hebrew and I have encoding problem on WooCommerce for the mail sent to client, the mail sent to the admin appears good but the mail sent to the client do not appear good, the text is symbols like ×”×–×ž× ×ª×š התקבלה וכעת × ×ž×¦××ª בטיפול. פרטי ×”×”×–×ž× ×” מופיעים להלן:`

    how to fix this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,
    This issue has been fixed in the latest version of the free plugin here. Do you use

    I have, the admin get it good, but the customer do not

    Hi Hannes,

    Even I am using the latest version, it still has the encoding issue.

    I finally (hopefully) found the root cause of this encoding issue, it is related to Preview Header Text filter.

    Open class-haet-mail.php and go to line 362 to replace


    $pre_header_text = substr( strip_tags( $email['message'] ), 0, 200 );


    $pre_header_text = mb_substr( strip_tags( $email['message'] ), 0, 200 );

    Since non-english is a multibyte character and it should be sub string using mb_substr function.

    Great plugin. Thanks.



    Thank you very much for your help. I just added this to the current release.

    Thanks for the new version

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Encoding problem on WooCommerce’ is closed to new replies.