Charset ISO 8859-1 Not Working For French Characters

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

    Charset ISO 8859-1 Not Working For French Characters

    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.
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    What charset does yahoo mail use?

    Jared

    Comment

    • chunk1978
      New Member
      • Jan 2007
      • 224

      #3
      Originally posted by jhardman
      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...

      Comment

      • eros
        New Member
        • Jun 2007
        • 66

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

        Comment

        • praveen2gupta
          New Member
          • May 2007
          • 200

          #5
          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.)

          Comment

          • drhowarddrfine
            Recognized Expert Expert
            • Sep 2006
            • 7434

            #6
            Nowadays, we should all use utf-8 as it gives the best support for languages.

            Comment

            • eros
              New Member
              • Jun 2007
              • 66

              #7
              Originally posted by drhowarddrfine
              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().

              Comment

              • praveen2gupta
                New Member
                • May 2007
                • 200

                #8
                Originally posted by eros
                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.

                Comment

                Working...