tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: HttpServletRequest.getCharacterEncoding -- useless?
Date Thu, 29 Jul 2004 19:38:43 GMT

The JavaDocs for suggest that you're fairly safe
with URLDecoder.decode(String s, "UTF-8").

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: news [] On Behalf Of Ian Pilcher
>Sent: Thursday, July 29, 2004 3:24 PM
>Subject: HttpServletRequest.getCharacterEncoding -- useless?
>Does the subject API ever return anything useful.  Using Tomcat 5, I
>can't get it to return anything but null.  Googling around, it seems
>that other servlet containers either always return null or always
>some default value (usually ISO-8859-1).
>How the heck am I supposed to process form input if I can't figure out
>how it's encoded?
>Ian Pilcher
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message