Special char encoding (UTF-8)
-
Hi,
I use Contact Form 7 plugin (CF7) in several forms on a website. It works well, even with foreign special characters (éèà?ù …), in text or HTML mode.
But when I want to encrypt email, all these char are badly encoded.I did not find how to send UTF-8 encoded email (from CF7). The only solution I found is decoding UTF-8 chars while encrypt the message.
Do to so, I modified the line 1464 of ‘wp-pgp-encrypted-emails.php’ file :
$smime_data = apply_filters( 'smime_encrypt', utf8_decode($message), $headers, $pub_cert );
Is there a better way to send UTF-8 encoded email ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Special char encoding (UTF-8)’ is closed to new replies.