Hi, all.

I have a servlet program running on English NT 4.0 server with sp4.0 and

Jrun on IIS 4.0.  This servlet receives post data from the browser,
saves information into database on SQL Server 7.0, reads data from the
database, and sends back information to the Browser.  SQL server 7.0 is
currently set up with UNICODE charset.  I have tested with Korean and
Japanese.  Without any charset, Korean is working correctly, but
Japanese.  So, I did set acceptable charset to "EUC-JP", "Shift_JIS",
and "ISO-2033-JP", and tried them all.  Still did not work.  Following
is my code.

            String acceptLanguage="jp";
            String acceptCharset="EUC-JP"

            res.setContentType("text/html; charset="+acceptCharset);
            res.setHeader("Content-Language", acceptLanguage);

Can anyone tell me what is wrong with it?  Any kind of information will
be appreciated.

Thanks.

--
**** Seong Y. Kim (Junior Software Engr)
**** 1420 Harbor Bay Parkway suite 281, Alameda, CA 94502
**** Tel: (510) 522-5077, Fax: (510) 522-1228
**** http://www.ilt.com, http://www.cnt.com.   mailto:[EMAIL PROTECTED]

___________________________________________________________________________
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