• Well, I just dont know what to do anymore.
    I’ve installed wp-contactform and everything goes fine until someone uses portuguese characters. For the user, eveything’s ok but when I receive the form result in my mail it cames all strangely formated such as:
    N?£o is N???£o.
    Could someone help me in this one? I really need this characters to work. Most of my site visitors are portuguese…
    Note: The encoding that I’ve set in Options is UTF-8
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • I encountered similar problem.

    You know what, you can test it yourself.

    I wrote a test mail to see if the installed plugin is working.

    I wrote this: I’ve been reading…
    And in my mail box I see I?¢a??a?¢ve been reading…

    Thread Starter browserdius

    (@browserdius)

    Hey Swordfish. I’ve tryed just now with “I’ve been reading…” and it worked. But it does not work with N?£o. Could you try?

    Hi,
    I had problem with slovak encoding, and UTF-8 charset.
    But I solve this problem with some commands in mysql.
    see blog.alfdesign.sk

    This was fixed in changeset 3599. You can wait for 1.4 or change around line 148 in wp-contactform.php

    change

    $headers .= "Content-Type: text/plain; $encodingn"; // sets the mime type

    to

    $headers .= "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"n";

    which will correctly set the MIME headers so it will recognize it as UTF-8 or whatever you’re using.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP-Contactform and encoding error’ is closed to new replies.