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

Charset ISO 8859-1 Not Working For French Characters

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+
7 Replies


jhardman
Expert 2.5K+
P: 3,405
What charset does yahoo mail use?

Jared
Apr 30 '07 #2

chunk1978
100+
P: 224
What charset does yahoo mail use?

Jared
hi Jared... i suppose yahoo mail uses the default browser text encoder ;-) speaking of that...

well... i switched the charsets in my codes (html form, and php email script) back to UTF-8 and restarted my browser (after changing the browser's default text encoding back to ISO 8859-1... i had switched it to Unicode)... seems to work now on webmail (gmail and yahoo) with Safari, Firefox and IE7... i still gotta try other non-web-based email browsers though... Apple's Mail client handles it perfectly, no surprise there... but i'm totally fearing the crazy characters that might be produced with Outlook and Lotus Notes...
Apr 30 '07 #3

P: 66
hi Jared... i suppose yahoo mail uses the default browser text encoder ;-) speaking of that...

well... i switched the charsets in my codes (html form, and php email script) back to UTF-8 and restarted my browser (after changing the browser's default text encoding back to ISO 8859-1... i had switched it to Unicode)... seems to work now on webmail (gmail and yahoo) with Safari, Firefox and IE7... i still gotta try other non-web-based email browsers though... Apple's Mail client handles it perfectly, no surprise there... but i'm totally fearing the crazy characters that might be produced with Outlook and Lotus Notes...
Please post your PHP scripts on how you set the char encoding.
Aug 22 '07 #4

100+
P: 201
Hi
french is supported by ISO-8859 charset. But when characters passes through different servers thar got deformed and so the changes completely. You chould check the character encoding of your all servers and database.
Secondly apply meta tags properly in the html pages. With IE when you open the page it must show the encoding level to ISO-8859 ( I suppose you are working on ISO-8859.)
Aug 23 '07 #5

drhowarddrfine
Expert 5K+
P: 7,435
Nowadays, we should all use utf-8 as it gives the best support for languages.
Aug 23 '07 #6

P: 66
Nowadays, we should all use utf-8 as it gives the best support for languages.
At first I am using UTF-8 but it not suitable with my site.. I am developing a mobile delivery system in Japanese... Now I am using Shift-JIS and it is suited in HTML, WML, PHP but not successfully done in Javascript...

If it is UTF-8 gives the best support for languages... why it is not in my case?

Until now I have problem in encoding when the data passes through GetXmlHttpObject().
Aug 23 '07 #7

100+
P: 201
At first I am using UTF-8 but it not suitable with my site.. I am developing a mobile delivery system in Japanese... Now I am using Shift-JIS and it is suited in HTML, WML, PHP but not successfully done in Javascript...

If it is UTF-8 gives the best support for languages... why it is not in my case?

Until now I have problem in encoding when the data passes through GetXmlHttpObject().
Hi
I am a little bit agree with your case. I have worked on the issue of character deformation and multi language in the site. I am not convinced anout the support by JavaScript. as i have find that whenever your language is changed
or not supported menas you should chack for the encoding support at your
server.
UTF-8 supports all the languages from worldwide and i have worked on it also.
i think you should check that all your middle servers are applying it properly.
If some of server is not supporting it Then language will not be forwarded properly.
Aug 24 '07 #8

Post your reply

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