Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4154966
Votes 0
Synopsis javax.servlet.http.HttpUtils.parseQueryString() -- needs encoding support
Category javax_servlet:other
Reported Against 1.1
Release Fixed
State 11-Closed, Will Not Fix, bug
Priority: 4-Low
Related Bugs 4146652
Submit Date 07-JUL-1998
Description
It's currently not as convenient to write servlets which support forms input
encodings other than the minimalist US-ASCII ...  rather than only having a
single argument form parseQueryString(String theString), there should be
another version that specifies the encoding:

    Hashtable HttpUtils.parseQueryString(String theString, String encoding);

Similarly with the parsePostData method.

Note that this supports the convention that's been pushed by Netscape:

 http://people. customer .com/ftang/paper/unicode11paper/t005.html

as well as the more recent (March 1998) approach presented at the IETF:

 ftp://ietf.org/internet-drafts/draft-masinter-url-i18n-01.txt

Both require encoding into bytes, then URL-encoding.

[ above by original submitter ]
Work Around
N/A
Evaluation
localization is being addressed with the servlet 2.2 specification
although i'm not sure it will directly address HttpUtils.parseQueryString()
Comments
  
  Include a link with my name & email   

Submitted On 06-OCT-1999
keisuken
I think needs encoding support when make Servlet engine or Pure Java Web
Server.


Submitted On 06-OCT-1999
hhaining
Now have to wait? Why always waiting!


Submitted On 03-APR-2001
sweetleon
it's been almost two years
and Java technology is generally so good at i18n support



PLEASE NOTE: JDK6 is formerly known as Project Mustang