+1 to that ---- Original Message ---- From: "Oxley, David" <[EMAIL PROTECTED]> Sent: 2003-03-04 To: 'Tomcat Developers List' <[EMAIL PROTECTED]> Subject: RE: UTF-8 characters
Cheers, Worked a treat. Should this code be done automatically by Tomcat? Dave. > -----Original Message----- > From: Kent Degrano [mailto:[EMAIL PROTECTED] > Sent: 04 March 2003 09:59 > To: Tomcat Developers List > Subject: RE: UTF-8 characters > > try this code, Dave. > String str = new String(request.getParameter("key").getBytes("ISO-8859- > 1"), "UTF-8"); > > > > -----Original Message----- > From: Oxley, David [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 04, 2003 5:30 PM > To: '[EMAIL PROTECTED]' > Subject: UTF-8 characters > > > When a response to the browser is in UTF-8 encoding form responses from > said > page are giving UTF-8 characters when req.getParameter is called. i.e. > instead of getting é, I get the UTF-8 encoding é returned to our servlet. > Surely the getParameter method should return é as it does with other > encodings. Is this a bug? > > Dave. > > > ________________________________________________________________________ > This e-mail has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ________________________________________________________________________ > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.456 / Virus Database: 256 - Release Date: 2/18/2003 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.456 / Virus Database: 256 - Release Date: 2/18/2003 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > ________________________________________________________________________ > This e-mail has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ________________________________________________________________________ ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]