I have a few forms on the website which contain some user identification fields (like name, email, address etc) plus a text input box for the message to us.
The form is handled by a a php script and I have noticed that especially when people in certain countries fill in the form the resulting text in the email to our sales department is corrupted. Problem countries include Turkey but also from other countries I have seen this.
What happens is that there are a lot of the constructs below in the emails, both in name, address and body fields.
(I have had to enter spaces between the characters to make the codes visible in this post since the forum engine seems to convert them into the characters I also would like to see in the emails. Please remove the spaces on each item to see what is actually inside the emails):
& # 8 8 0 5;
& # 3 2 4;
& # 3 0 4;
& # 3 0 5;
& # 3 5 1;
& # 3 5 1;
I am pretty sure the users do not enter these strange codes when they fill in the form...
I have tried to change the meta tag in the top of the form file as follows:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
But doing so screws up the messages even more, now all accented characters entered (like ĺäöĹÄÖéč etc) become totally whacked. They are not even encoded with the codes like those shown above.
What can I do to get rid of this annoyance, which also affects an automatic form response parsing utility we use in teh office?