View Full Version : Forms Encoding

05-12-2009, 10:04 AM
Hello there,

I'm using the WP-Contact-Form on my wordpress blog and I'm having some encoding problems. My site is built using 2 languages (french and arabic), whenever someone sends us a message using french special characters, the email arrives to my inbox all messed up with.

For example: "è" becomes "& egrave ;" (without the spaces)

How can I fix that?

05-12-2009, 03:35 PM
I think you should have french and arabic language pack installed in ur system or ur email supports them, when they are not identified by the browser then the quotes/codes are displayed as HTML Entities

05-12-2009, 05:26 PM
This is likely the provider stripping out HTML entities. Usually, é will be è. Your email provider is probably changing this to è, which is giving you your problem. Make sure the email isn't in plain text; hopefully that will solve it.

05-13-2009, 08:26 AM
How do I make sure the email isn't plain text?

05-13-2009, 09:52 AM
How do I make sure the email isn't plain text?
Check the examples at http://php.net/mail

05-13-2009, 11:35 AM
Well, I have set the content-type of the form to text/html after it was text/plain
And inside my blog I have set the encoding to UTF-8
but still whenever I send an email in french charsl; méssage becomes mA©ssage

05-25-2010, 10:11 AM

Did you find any solution to this problem ?

I'm having the same and changing text/plain to text/html doesn't work better ...