• I created a pretty advanced contact form with conditional displays and so on.
    There is a problem with special characters when I implement the code to WP.

    This is how I proceed:

    – I paste the JS functions between <head> and </head> in the header.php file of the theme (Striking theme)
    – I paste the HTML form in a WP page through the editor (HTML editor, no visual)
    – I upload sendmail.php and class.phpmailer.php

    Everything works fine and the email is sent, except that special characters like éàè??ü display as ??? ?¨???¤?? in the email, which is not the case when I test the form as a .html page containing the JS and HTML code.

    Any idea what WP file I could alter to fix this?

    Thanks a million

Viewing 1 replies (of 1 total)
  • Thread Starter ant123

    (@ant123)

    Update:

    In sendmail.php, I’ve tried to replace $CharSet by windows-1252 and UTF-8 and also replaced text/plain by text/html but to no avail.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with special characters in email when form is implemented to WP’ is closed to new replies.