I need to post a form on a new website which is UTF-8 encoded. The problem is - i need to post it to a legacy site encoded with western european (iso). Certain characters gets messed up in the post (like danish special characters).
It is not possible to change the character encoding on the legacy website as it would definately break stuff on the old site (so that's a no-go). I might be able to do some magic with the data (some branching on input) on the legacy site, but that would be the fallback solution.
I have jquery on the client to help with whatever possible encoding tricks would be possible there.
I see a possible solution of actually posting from the new UTF-8 page to another new page that changes the encoding server-side and reposting it to the legacy site, but that just seems ugly...
The new site is running asp.net mvc and the old legacy is classic asp (not asp.net) if that makes a difference (i hope it doesn't since i'd really like to handle stuff client-side).