tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tra...@thinkvirtual.com
Subject RE: RE: UTF-8 characters
Date Tue, 04 Mar 2003 17:12:40 GMT
+1 to that

---- Original Message ----
From: "Oxley, David" <David.Oxley@workplace-systems.plc.uk>
Sent: 2003-03-04
To: 'Tomcat Developers List' <tomcat-dev@jakarta.apache.org>
Subject: RE: UTF-8 characters

Cheers,

Worked a treat. Should this code be done automatically by Tomcat?

Dave.


> -----Original Message-----
> From: Kent Degrano [mailto:KentAlred.Degrano@asia.bigfoot.com]
> 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:David.Oxley@workplace-systems.plc.uk]
> Sent: Tuesday, March 04, 2003 5:30 PM
> To: 'tomcat-dev@jakarta.apache.org'
> 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: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 
> ________________________________________________________________________
> 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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message