Use java.net.URLEncoder.encode(String str). Be careful with java applets in MSIE since this method translates nonprintable (accented) characters in CP 1251. They are translated to "?". In general: blank is translated to "+" a-z A-Z 0-9 remain same other characters are translated to %hh where hh is 0-255 hex value of the character Dragomir ---------- From: Vitaly Lipovetsky[SMTP:[EMAIL PROTECTED]] Sent: Thursday, November 18, 1999 04:58 PM To: [EMAIL PROTECTED] Subject: Encoding parameter values in query string ? <<File: ATT00000.txt>><<File: ATT00001.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
Re: Encoding parameter values in query string ?
Dr. Dragomir D. Dimitrijevic Sat, 16 Jan 1999 10:05:41 -0800
- Encoding parameter values in query string ? Vitaly Lipovetsky
- Re: Encoding parameter values in query s... John McDonald
- Re: Encoding parameter values in query s... Madhavi Karanam
- Re: Encoding parameter values in query s... Chris Gow
- Re: Encoding parameter values in que... Vitaly Lipovetsky
- Re: Encoding parameter values in... Ricardo Rocha
- Re: Encoding parameter value... Vitaly Lipovetsky
- Re: Encoding parameter values in query s... Dr. Dragomir D. Dimitrijevic
- Re: Encoding parameter values in query s... Chris Gow
- Re: Encoding parameter values in que... Martin Kuba
- Re: Encoding parameter values in que... Milt Epstein
