• Hello:

    I’m using this great plugin “Custom Contact Forms”, and I have a problem.

    My page is in spanish, so I use special characters for the accents and punctuation marks. After I submit the form I get the email but all the special characters are displayed wrong.

    For example an “a” with an accent displays like this:
    á = ??

    And the question mark displays like this:
    ?= ??

    I tried to replace the accents with HTML characters like á and á but it doesn’t work.

    If you can, can you please help me? I don’t know if this is a plugin issue or mail program issue.

    THANKS!!!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Which version are you running? CCF recently switched all tables to UTF8. Does UTF8 provide all the characters you need?

    Thread Starter Ms_G

    (@ms_g)

    Hi Taylor,

    Thanks for replying, I figured out the problem ??

    I’m using the latest version, and yes the tables are UTF-8 but not the email that is sent.

    This Plugin uses the default PHP mailer that comes with WordPress, so that’s why I couldn’t find the character encoding within the plugin’s files.

    I went to wp-includes/class.phpmailer.php on line 50 change

    var $CharSet = ‘iso-8859-1’;

    to

    var $CharSet = ‘utf-8’;

    After doing this the emails were be encoded utf-8.

    Thanks!!!

    That same bug was fixed in version 4.0.8.1

    Thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Custom Contact Forms] problem with special characters’ is closed to new replies.