Hi there - got NateMail up and running in a jiffy and am well pleased with it!
I am using it in a German environment and it seems not to be able to deal with special characters such as ß ü ä ö etc. It writes Straße as StraÃYe.... Is there a simple solution for this?
Many thanks
P
Language coding?
4 posts
• Page 1 of 1
Re: Language coding?
Is the problem in the email message, or the confirmation page? I'm guessing the email message, in which case you might try using a different encoding for the outgoing email. In recent versions of NateMail.php, this code should be around line 601:
It might like utf-8 encoding better, so try changing those lines to:
...to use the utf-8 character set and 8 bit encoding. Any luck after that?
- Code: Select all
$headers = "MIME-Version: 1.0$le";
$headers .= "Content-Type: text/plain; charset=\"iso-8859-1\"$le";
$headers .= "Content-Transfer-Encoding: 7bit";
It might like utf-8 encoding better, so try changing those lines to:
- Code: Select all
$headers = "MIME-Version: 1.0$le";
$headers .= "Content-Type: text/plain; charset=\"utf-8\"$le";
$headers .= "Content-Transfer-Encoding: 8bit";
...to use the utf-8 character set and 8 bit encoding. Any luck after that?
- Nate Baldwin
- Site Admin
- Posts: 3724
- Joined: 04/25/2003 @ 19:05
Re: Language coding?
Yes, the problem was in the email message and your solution was what I figured, but didn't know where to find or implement it!
Many thanks for your prompt solution!
Patrick
Many thanks for your prompt solution!
Patrick
- PatrickB
- Posts: 2
- Joined: 09/18/2008 @ 15:16
Re: Language coding?
Hi Nate,
Firstly, thanks a lot for the script. It works perfectly!
But I seem to have the same problem as Patrick. My contact form should include text in Russian, but I get just symbols. I tried the solution you offered to Patrick. But it still does not work. Do you have any other solution?
Thanks a lot
Tanja
Firstly, thanks a lot for the script. It works perfectly!
But I seem to have the same problem as Patrick. My contact form should include text in Russian, but I get just symbols. I tried the solution you offered to Patrick. But it still does not work. Do you have any other solution?
Thanks a lot
Tanja
- kustat
- Posts: 1
- Joined: 05/21/2009 @ 06:14
4 posts
• Page 1 of 1
Return to Form Processing (NateMail, ProcessForm)
Who is online
Users browsing this forum: No registered users and 2 guests