Hello All,
I'm not able to set the cookie value in japanese even after setting the
response content type to Shift-JIS(SJIS) character set.
Secondly i constructed a new String with encoding type as UTF8 even this
also giving wrong results.
try
{
    byte [] toUTF8 = cookieQueryText.getBytes("UTF8");
    String tempQry = new String(toUTF8, "UTF8");
     _sc.log("Result : " + tempQry );
}
catch(Exception utfEx)
{
    _sc.log("UTF Exception : " + utfEx.getMessage() );
}

Can some one throw some light how to write these Katakana chars into the
cookie.

Thanx in advance

Regards
G S Sundaram

___________________________________________________________________________
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