You are not logged in.
thanks a lot, zem!
now it works as a charm!
and thanks to those who forked up the ransom too :)
Thanks for all your great work zem, it really is appreciated.
Like krik, I get bad french characters coding.
I try it with 0.6 version, and Outlook Express.
Can you show me what the input and output characters are?
Do the same characters work in the Textpattern comment form, when “email comments to author” is turned on?
In the mail :
Je vais Ã l’Ã©cole Ã Paris.
Je vais à l’école à Paris.
I try to send the same strings in a comment (an check the “email comment …”) I never get the mail ….
Note : if I force display (in OExpress) to UTF-8, the mail is correctly displayed. On other mails, OE detect correct encoding. Here encoding is always badly detected.
The same input shows up fine here using Thunderbird and Kmail.
The utf-8 header is there. Looks like OE isn’t detecting it for some reason.
Can anyone else reproduce the problem using Outlook Express? I don’t have a copy I can use to test.
I try with Thunderbird and here all is OK.
I try to set iso-8859-1 coding in the plugin code without success. Same problem.
PHPMailer on the same server send correct coding.
And on my OE, others mails with utf-8 coding are correctly displayed.
Doug contact plugin give me the same bad coding.
I found the problem (not the solution) :
I try to use an other email to send the form : my provider email, and here all is OK.
Then I try to use my domain email again : here bad coding. I go to the mail source.
On this bad mail, the headers are part of the mail body (and encoding is not read by the mail client! ) because of extra empty line before headers.
See here :
Subject: Email enquiry for Ecole Les Sources
Content-Type: text/plain; charset=“UTF-8”
Date: Sun, 12 Dec 2004 15:20:13 +0100 (CET)
The first empty line stop the header part.
Where is the error ? Hosting ? Plugin ?
Thanks for the help !
My guess is that one of the mail servers is picky about line feeds.
Try editing the plugin, and look for the ‘$headers’ stuff about 50 lines down. Change all the line ends from
\n. If that does the trick, I’ll update the plugin to make that selectable.