This problem was caused by your browser. The browser will use its own encoding to encode form values post back. You need set proper encoding to request - request.setEncoding("BROWSER_ENCODING"). Or you can write a filter to simplify your work.
----- Original Message ----- From: "Nathan Coast" <[EMAIL PROTECTED]> To: "tomcat user" <[EMAIL PROTECTED]> Sent: Sunday, August 03, 2003 9:11 PM Subject: UTF-8 problems > Hi, > > I have an text fields in a form that will contain UTF-8 characters e.g. > 'á'. I can retrieve utf-8 chars from the db and display them correctly > in jsps via tomcat. The only problem comes with submiting forms to > tomcat. request.getParameter() returns the incorrect value for the char > e.g. 'á' instead of 'á'. > > AFAIK the default encoding of java is UTF-8 so I'm not to sure where to > look. Anyone have any suggestions as to what I have to do? > > thanks > Nathan > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]