I'm currently working on an web application that runs with UTF-8 encoding.
I'm running my web application on a resin 2.0.27. My web app is a spring mvc application which receives a couple of parameters when an user invokes a servlet with a specific url. The application then asks the index, which in turn returns data for my application to present to the user.
My problem is as follows:
When specifying in my resin conf that the resin instance should run with UTF-8 character encoding characters like åäö works fine in my linux environment(firefox). But when calling the application from a windows environment(firefox, IE) all parameters which contains å ä ö gets ignored by the request object. When sending the correct utf-8 encoding(%C3%B6 instead of ö) then everything works fine.
If i don't specify UTF-8 in my resin conf then all parameters exist inte the request object but the encoding gets all wrong in the linux environment and the web application receives junk characters such as ö->Ã¶.
But when calling the application from windows å ä ö gets iso encoded(ö -> %F6 )
and works fine.
What I'm i doing wrong, why do this problem occur?
Could you please help me figure this out.