WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Multilang Contact Form] Russian form gets only ??? instead of live text

[Plugin: Multilang Contact Form] Russian form gets only ??? instead of live text

  • I tried to use Multilang Contactform and it was good. Only Russian text send by form became ??? and can’t be changed even from encoding menu in Outlook.

    So I made few changes in your plugin, but not sure if they are ok 🙂

    Changed this parts:

    $name = html_entity_decode($_POST[‘mlcf_name’]);
    $email = utf8_decode(html_entity_decode($_POST[‘mlcf_email’]));
    $subject = html_entity_decode($_POST[‘mlcf_subject’]).” “.get_option(‘mlcf_subject’);
    $website = utf8_decode(html_entity_decode($_POST[‘mlcf_www’]));
    $text = html_entity_decode($_POST[‘mlcf_message’]);

    ==============

    $headers .= ‘Content-type: text/html; charset=utf8’ . “\r\n”;

    ==============

    mail($recipient, ‘=?UTF-8?B?’.base64_encode($subject).’?=’, $message, $header2); // to show message in Outlook with right encoding

    Please check if you can 🙂 it works now. Thanks.

    http://wordpress.org/extend/plugins/multilang-contact-form/

  • The topic ‘[Plugin: Multilang Contact Form] Russian form gets only ??? instead of live text’ is closed to new replies.