tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sankaranarayanan Ganapathy <>
Subject Multibytes
Date Fri, 27 Jul 2001 21:26:17 GMT
I am sending  shift_jis multibyte characters as part of http get request to
a servlet. But from the headers I get I am not able to say what the encoding
is. I cannot always assume that the charset  is shift_jis because it could
be big5 or something else in other cases. Doesnt the http request protocol
have a header saying what the encoding is?

Does anybody know?

Any help will be greatly appreciated.


I have enclosed the http request that my browser sent :

+auto+attendant+not+active HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/, application/, application/msword,
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Host: localhost:8080
Connection: Keep-Alive

View raw message