Which version are you running? Version 4.0.4 converts all table charset to UTF-8
Thread Starter
hotoil
(@hotoil)
Yes, it is Version 4.0.4
When I send a message by the plug-in for testing I receive it in Western ISO-8859-1 Charset.
Thank you for help.
I have the same problem.
I’m using Version 4.0.6, but when I check the message’s “raw source” they have the following code:
–b1_740ede90b9cae4b43e0c0d0170a41c5c
Content-Type: text/html; charset = “iso-8859-1”
Content-Transfer-Encoding: 8bit
I have Spanish special characters and they are displayed like this:
áéà óú¿¡üñ¿ú
Can anyone please help?
Thanks!
I really want to use this amazing plugin so I’m trying to find a solution to my problem. I know that you can define in PHP the Character encoding with:
header(‘Content-Type: text/html; charset=utf-8’);
Other contact forms plugins define the character encoding like this:
$header .= ‘Content-type: text/html; charset=’. get_option(‘blog_charset’) . $php_eol;
or
$header .= ‘Content-Type: text/html; charset=utf-8’;
However in the Custom Contact Forms plugin I can’t find anywhere the character encoding. I know some PHP but this is beyond my knowledge.
Can you please help me find where and how I can define the Character encoding?
Thanks!
I figured out 🙂
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.
If you go 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 will be encoded utf-8.