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 :)
Offline
Thanks for all your great work zem, it really is appreciated.
Offline
Fixes a bug that let some required fields slip through empty.
Alex
tstate
Offline
Hello,
Like krik, I get bad french characters coding.
I try it with 0.6 version, and Outlook Express.
Offline
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?
Alex
tstate
Offline
In the mail :
éÚÃ
Je vais à l’école à Paris.
===
Input :
éèà
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.
Offline
jpd,
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.
Alex
tstate
Offline
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.
Offline
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 :
=============
…
To: xx@xxxx.org
Subject: Email enquiry for Ecole Les Sources
From: xxx@yyyy.org
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=“UTF-8”
Reply-To: xx@xxxx.org
X-RealFrom: xxxxx.net
Message-Id: <20041212142013.31C73CE32xxxxxx.net>
Date: Sun, 12 Dec 2004 15:20:13 +0100 (CET)
Name: dfgdf
Email: xx@xxxxx.org
Message: éèÃ
=============
The first empty line stop the header part.
Where is the error ? Hosting ? Plugin ?
Thanks for the help !
Offline
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 \r\n to \n. If that does the trick, I’ll update the plugin to make that selectable.
Alex
tstate
Offline