473,324 Members | 2,581 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

ISO 8859-1 Charset in PHP Mail Not Working.

chunk1978
224 100+
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
1 3874
eros
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

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

Similar topics

2
by: Ann | last post by:
Hi, Is there any way to Change encoding of Java Vm to ISO-8859-1? i am using Java vm along with an application called opencms. I get the following error message.. Error: the encoding of your...
4
by: Neal | last post by:
Been trying to research this, but not getting any solid answers. So I ask the opinions of the esteemed panel. Assuming one is authoring a page in English for a primarily US audience, what are...
36
by: Ian Rastall | last post by:
I thought I would make a table of the Latin-2 character code. I use a meta tag to indicate ISO-8859-2, but when I use the numeric entity, for, say Latin Capital Letter R With Acute, which is À it...
3
by: Jean-Philippe Encausse | last post by:
Hi, I got 2 bugs using AJAX with ISO-8859-1: 1. While serializing form's value using prototype.js I lost accent éàè ... because it use encodeURIComponent() function. I saw on google, for...
6
by: | last post by:
Hi, I'm using .Net CF, and I'm trying to load an XML document that has a first line: <?xml version="1.0" encoding="ISO-8859-1"?> I'm loading this via XmlDocument.Load(). However, I get and...
4
by: Mogens Nielsen - Elbek & Vejrup A/S | last post by:
Hi all, I have an application loading xml-documents. The purpose is just to load the document and do some processing. The documents is generated by external vendors outside my company. Some of...
1
by: Lonewolf | last post by:
Hi all, I'm trying to decode a byte array containing char conforming to ISO 8859 standard, it is a german text actually. I tried using the old win32 MultiByteToWide API, using CP_ACP as the code...
14
by: abhi147 | last post by:
Hi , I want to convert an array of bytes like : {79,104,-37,-66,24,123,30,-26,-99,-8,80,-38,19,14,-127,-3} into Unicode character with ISO-8859-1 standard. Can anyone help me .. how should...
9
by: Andy Dingley | last post by:
Are there any non-obvious gotchas to using ISO-8859-15 as a page encoding rather than ISO-8859-1 ? This gains the Euro symbol, but obviously loses the £ sign (and a few other less useful symbols)
0
by: Mihai N. | last post by:
I have observed that there are a couple of character sets that are Very short answer: that meta tells the browser what the encoding of the web page is. If the browser gets the code page wrong,...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.