I have a problem with internationalization.
My program consist of a Swing GUI client which recieves input from the user, a servlet running on Tomcat and a MySQL database.
When I send text from the client I encode it using URLEncoder.encode("text", "UTF-8"
.
The problem is that when it is recieved in the servlet, it no longer looks URLEncoded (the %´s have been stripped etc.) - so decoding it doesn´t work.
Anyone experienced similar problems?
My program consist of a Swing GUI client which recieves input from the user, a servlet running on Tomcat and a MySQL database.
When I send text from the client I encode it using URLEncoder.encode("text", "UTF-8"
The problem is that when it is recieved in the servlet, it no longer looks URLEncoded (the %´s have been stripped etc.) - so decoding it doesn´t work.
Anyone experienced similar problems?