I have this form that shows up on http://www.bspmedia.eu/inspiration.html
by clicking on the last paragraph.

type a message with for example "testöäå" and then hit the submit
button. On submit the form validates and then sends the mail. But it
sends this message as "testöäå".

If I look in firebug, jquery seems to send the right values (öäå), but
somehow it ends up messy in the response script.

I have been testing and searching and looking for a while now but cant
figure it out. I think the problem is in the fact that jQuery form
doesn't "translate" these characters in a proper way.
What it should do (in my opinion) is translate the values ä to for
example %36 (or whatever the equivilent may be), so that php can pick
it up and translate it with the function urldecode.

There is a function in jQuery form that does about that but then all
the fields are put as one long string (as it was a GET query). But i
want the script to submit with POST.

You can download my code at: www.bspmedia.eu/includes/contact-form.txt
(the javascript that handles the submision is at 
www.bspmedia.eu/includes/myContactForm.js
)

Reply via email to