You need to make the following call before calling getParameter():

request.setCharacterEncoding( "Shift_JIS" );

Paul

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> souravm
> Sent: Tuesday, April 23, 2002 7:17 AM
> To: [EMAIL PROTECTED]
> Subject: Intenationalization setting in Servlet Exec
>
>
> Hi All,
>
> I'm running Servlet Exec 4.1 in IIS4.0 in Windows NT.
>
> I'm sending a multibyte string encoded in Shift_JIS from a HTML
> page to a JSP. In the JSP I'm reading it using getParameter() and
> showing it to the resulting HTML. The string is coming as ????.
>
> The JSPs are fine as they work properly in iPlanet Web Server 6.0
> running on Windows NT.
>
> It seems that some setting need to be done in Servlet Exec 4.1
> and/or IIS 4.0 to make this work. Could anyone please let me know
> what exactly need to be done ?
>
> Regards,
> Sourav
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to