473,394 Members | 1,902 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,394 software developers and data experts.

Charset ISO 8859-1 Not Working For French Characters

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
7 20254
jhardman
3,406 Expert 2GB
What charset does yahoo mail use?

Jared
Apr 30 '07 #2
chunk1978
224 100+
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
eros
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
praveen2gupta
201 100+
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
7,435 Expert 4TB
Nowadays, we should all use utf-8 as it gives the best support for languages.
Aug 23 '07 #6
eros
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
praveen2gupta
201 100+
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

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

Similar topics

12
by: lawrence | last post by:
How do I get PHP to tell the server that when I echo text to the screen, I need for the text to be sent as UTF-8? How does Apache know the right encoding when all the text is being generated by...
30
by: The Plankmeister | last post by:
In the <meta http-equiv="Content-Type" content="text/html; charset=????????"> tag, what is the best charset to use? I tend to use UTF-8, for no reason other than it sounds much cooler than...
13
by: Ronald Fischer | last post by:
When I create a new page using Netscape Composer, it always includes a meta tag <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> in the header. I would like to have it...
34
by: nose | last post by:
Hi, A little poll for the week-end: Which charset do you use for your website(s): utf-8? iso-8859-1 (...)? other? just don't care? What charset is better now, say, for European languages like...
2
by: Mel | last post by:
i have "Identificación" that shows up as "Identificación" on my screen. I am using Apache. When i save the source and reload it in IE, it shows correctly, but on my site running apache it shows...
0
by: steve mettraux | last post by:
I have this kind of string, dim myString as string = " =E0 ton essai d'=E9tablir une" i know the kind of encoding, here I have iso-8859-1 dim charset as string ="iso-8859-1" how to decode...
0
by: bobkaku | last post by:
I added "MIME-Version: 1.0\r\nContent-Type:text/html; charset=iso-8859-1\r\n" as one of the parameters in the mail( ) function to replace the "Nobody" with a real From: email. That worked. ...
2
by: bobkaku | last post by:
I added "MIME-Version: 1.0\r\nContent-Type:text/html; charset=iso-8859-1\r\n" as one of the parameters in the mail( ) function to replace the "Nobody" with a real From: email. That worked. ...
3
by: yellowtek | last post by:
Hi, I'm simply using PHP as a programming language, and I just want to print some text information to stdout, but instruction print "é" (&eacute;) does not print my "e" with an accent in the...
2
by: Morten Snedker | last post by:
The code below is used to get the content of a dataset to Excel and it works quite okay, except: Special Danish charachters look crappy when shown in Excel. Any ideas if the problem can be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.