WordPress.org

Ready to get started?Download WordPress

Forums

Multilang Contact Form
Russian form gets only ??? instead of live text (1 post)

  1. Webprom Design
    Member
    Posted 3 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Webprom Design
  • This topic is not resolved
  • WordPress version: 3.1.2