By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,724 Members | 1,868 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,724 IT Pros & Developers. It's quick & easy.

ISO 8859-1 Charset in PHP Mail Not Working.

chunk1978
100+
P: 224
i though i had this under control, but i'm completely lost...

i have a form which allows a user to fill out information, which is then emailed to myself as well as themselves... the form is obviously sent by PHP mail.

everything seemed to be working when i text encoded the sent email with UTF-8... but then i tried it in Yahoo Mail, and i got those "?" symbols where french characters like "" or "" were suppose to be...

i've read up on ISO 8859-1 and have learned that french characters are handled properly with ISO 8859-1, so i didn't really have to use UTF-8... so since Yahoo Mail didn't handle my UTF-8 encoding correctly i decided to change everything back to ISO 8859-1... and now everything is crazy.

can someone please tell me how i'm suppose to encode PHP mails with french character input, and which charset i'm suppose to use on the HTML page that displays the form.
Apr 30 '07 #1
Share this Question
Share on Google+
1 Reply


P: 66
i though i had this under control, but i'm completely lost...

i have a form which allows a user to fill out information, which is then emailed to myself as well as themselves... the form is obviously sent by PHP mail.

everything seemed to be working when i text encoded the sent email with UTF-8... but then i tried it in Yahoo Mail, and i got those "?" symbols where french characters like "" or "" were suppose to be...

i've read up on ISO 8859-1 and have learned that french characters are handled properly with ISO 8859-1, so i didn't really have to use UTF-8... so since Yahoo Mail didn't handle my UTF-8 encoding correctly i decided to change everything back to ISO 8859-1... and now everything is crazy.

can someone please tell me how i'm suppose to encode PHP mails with french character input, and which charset i'm suppose to use on the HTML page that displays the form.
Please post the PHP scripts on how you set the char encoding.
Aug 22 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.