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.
7 20312 jhardman 3,406
Recognized Expert Specialist
What charset does yahoo mail use?
Jared
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...
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.
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.)
Nowadays, we should all use utf-8 as it gives the best support for languages.
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 GetXmlHttpObjec t().
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 GetXmlHttpObjec t().
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.
Sign in to post your reply or Sign up for a free account.
Similar topics |
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 PHP? If I
build a content management system (I have) and I make sure that all
input is encoded as UTF-8, how will the
server know that the text in the MySql database is UTF-8?
I'm taking all user input and using this function on the input:
...
|
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 iso-8859-1 etc
etc... Are there any guidelines for this sort of thing?
P.
|
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 charset=us-ascii instead. How can I
do this? An alternative would be to tell Netscape to leave out the charset
attribute altogether, because this would then mean "us-ascii" by default,
but I don't know how to do it either.
|
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 french, german,
spanish...
|
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 wrong.
Please help me. i am stuck !!!!
| |
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 it?
|
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.
But if I attempt to add any other terms, such as the sender's name and
location, the MIME parameter above seems to ignore the "\n" line feeds
and put the these other terms ahead of the mail message.
Here's my code:
|
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.
But if I attempt to add any other terms, such as the sender's name and
location, the MIME parameter above seems to ignore the "\n" line feeds
and put the these other terms ahead of the mail message.
Here's my code:
|
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 "é" (é)
does not print my "e" with an accent in the shell window: wrong
charset.
How to set the correct charset?
|
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 solved?
response.Clear()
response.Charset = "iso-8859-2"
response.ContentType = "application/vnd.ms-excel"
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |