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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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?
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">
It fixed the problem. Thank you very much!
this change has been made in the original code. Thanks
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.
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");
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