Snitz
05-12-2009, 09: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?
ksanjanadevi
05-12-2009, 02: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
Apostropartheid
05-12-2009, 04: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.
Snitz
05-13-2009, 07:26 AM
How do I make sure the email isn't plain text?
abduraooft
05-13-2009, 08:52 AM
How do I make sure the email isn't plain text?
Check the examples at http://php.net/mail
Snitz
05-13-2009, 10: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
Thos0000
05-25-2010, 09:11 AM
Hi
Did you find any solution to this problem ?
I'm having the same and changing text/plain to text/html doesn't work better ...