use the URLEncoder.encode(Str) class.. bradley mclain >From: zhangqi(ÕÂÆæ) <[EMAIL PROTECTED]> >Reply-To: "A mailing list for discussion about Sun Microsystem's Java > Servlet API Technology." <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: How to Encode the double-byte characters to the characters like > %EC%DE ? >Date: Fri, 31 Mar 2000 19:22:00 +0800 > >Hi Everyone in this list: >I use the following code: > response.sendRedirect ( "/test.jsp?info=xxxx " ); >' xxxx ' contains some double-byte characters. > I want to know how to encode the double-byte characters to such >like %FA%DB%DE ? >Thank everybody > >AidyZhang > >___________________________________________________________________________ >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 ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com ___________________________________________________________________________ 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