- From: souravm <souravm@infy.com>
- Date: Wed, 20 Feb 2002 08:48:52 +0530
- To: <www-international@w3.org>
Hi All, A doubt regarding the encoding used for strings sent through http response header. Let us assume that a JSP is written where at the first line using content type the encoding for the page is set to UTF-8. After that a response header field, say hdrError, is set where the value set is non english string. My doubt is whether for this header field hdrError also the encoding applied while sending the request will be UTF-8 ? Or in this case the encoding applied will be default encoding type of JVM ? Suppose this response is recieved through HTTPURLConnection object (i.e. the request itself was sent by HTTPURLConnect). Now if one extracts the value stored against hdrError by using getHeaderField() method of HTTPURLConnection object what will be the encoding assumed for the input string ? Reagrds, Sourav
Received on Tuesday, 19 February 2002 22:22:18 UTC