Menu

Scandinavian letters?

Help
marilynn
2007-12-28
2013-06-03
  • marilynn

    marilynn - 2007-12-28

    I generated my new form and it looked good. As I unpacked the zip-file, all the scandinavian letters are displaying uncorrectly. Is there anyway I can fix this?

     
    • TNTEverett

      TNTEverett - 2007-12-28

      Try changing this line in the form.html:

      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

      to this:

      <meta http-equiv="content-type" content="text/html; charset=UTF-8">

       
      • marilynn

        marilynn - 2007-12-28

        It fixed the problem. Thank you very much!

         
    • Najaf

      Najaf - 2007-12-28

      this change has been made in the original code.  Thanks

       
      • marilynn

        marilynn - 2007-12-28

        A small problem still exists..
        Scandivavian letters still don't show properly in the e-mail, which is sent by using the form.
        I don't know where to find that setting. I've changed both "form.html" and "confirm.html".

        Of course this is not a big problem, since I can find out what is said in the form anyway.

         
        • TNTEverett

          TNTEverett - 2007-12-28

          It's a bit more involved than the previous change. 
          I think the best way is to create a complete HTML email.  You will need to create a header and reformat the message to include HTML tag syntax. 

          You can try this first though.  Change only the context type in the header field of the mail() function.

          mail($to, $subject, $message, "From: $from\nContent-Type: text/html; charset=UTF-8");

           
  • Aage

    Aage - 2017-11-08

    Just whent trough this for several hours trying and in the form.html I changed:
    ......content="text/html; charset=UTF-8

    TO: content="text/plain; charset=ISO-8859-1

    and it worked for me

     

    Last edit: Aage 2017-11-08

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.