Results 1 to 6 of 6

Thread: Email french specials character problem

  1. #1
    Thread Starter
    Newbie mguerin's Avatar
    Join Date
    Jul 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Email french specials character problem

    I,

    I installed classipress with french pack, and my test email got encoding problem with french (ISO) charaters.

    Name: Mathieu Guérin
    Email: seo@innomatiques.com
    Message: éééé

    Translating is in ISO.

    How can i correct this ?

    Thank you,

    Mathieu

  2. #2
    Affiliate Member AppThemes Affiliate cjseven's Avatar
    Join Date
    Jun 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Email french specials character problem

    Hi!

    You made me note that I have the same issue with my portuguese sites.

    Here is the solution:

    NOTES:
    - You will need to download notepad++ editor to follow these instructions.
    - As always do your own backups. This has worked for me but cant guarantee any results to you.

    1- Open single.php file in notepad++

    2- Replace

    "mail($receiver_email,$subject2,$body,$email2) ;" >> line 193

    with this

    "$header = "From: <".$email2.">\n";
    $header .= "Content-Type: text/plain; charset=UTF-8\n";
    $header .= "X-Mailer: PHP / ".phpversion()."\n";
    $header .= "MIME-Version: 1.0\n";
    mail($receiver_email,$subject2,$body,$header);"

    3- In notepad++ editor go to Format Menu and Convert to UTF-8 without Boom

    4- Save single.php file

    (I though this should be enough but it isn't...)

    5- Open index.php file (from your classipress theme folder)

    6- In notepad++ editor go to Format Menu and Convert to UTF-8 without Boom

    7- Save index.php file and upload both files to you classipress theme folder.

    Test it and tell me if it works.

    Thanks,

    António Almeida

    Wordpress and WPclassipress are great!
    One week classipress website put my curriculum in first place for "especialista em web markeitng" at google.pt
    [url="http://www.licenciados.info"]http://www.licenciados.info[/url] | [url="http://www.formacao.info"]http://www.formacao.info[/url] | [url="http://www.alugarquarto.net"]http://www.alugarquarto.net[/url] | [url="http://www.alugarapartamento.net"]http://www.alugarapartamento.net[/url] | [url="http://www.comprarapartamento.net"]http://www.comprarapartamento.net[/url]

  3. #3
    Thread Starter
    Newbie mguerin's Avatar
    Join Date
    Jul 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Email french specials character problem

    Thank you!

    Works for me!

    Mathieu

  4. #4
    sentimex's Avatar
    Join Date
    Jun 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Email french specials character problem

    Got the same problem, fixed by adding charset header, BUT
    shouldn't you be getting charset from the bloginfo('charset'); ?

  5. #5
    Newbie
    Not a Verified Customer
    jpBenfica's Avatar
    Join Date
    Aug 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Email french specials character problem

    Override the default 'WordPress wordpress@mydomain.com' from name and email address, and fixe character problems like this Message: éééé

    WP From Email Plugin

    Download: http://skullbit.com/wordpress-plugin/wp-from-email/

  6. #6
    Junior Member
    Not a Verified Customer
    wilson's Avatar
    Join Date
    Sep 2009
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Email french specials character problem

    Hi
    Nice tip indeed
    Just bookmarking for future reference.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. French Translation with Po Edit
    By reyvax in forum Help Using ClassiPress
    Replies: 3
    Last Post: April 15th, 2010, 02:22 PM