ISO 8859-1 Charset in PHP Mail Not Working.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chunk1978
    New Member
    • Jan 2007
    • 224

    ISO 8859-1 Charset in PHP Mail Not Working.

    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.
  • eros
    New Member
    • Jun 2007
    • 66

    #2
    Originally posted by chunk1978
    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.

    Comment

    Working...