On Wed, 13 Oct 1999, Andy Bailey wrote:
> ----- Original Message -----
> From: Milt Epstein <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, October 13, 1999 4:08 PM
> Subject: Re: encodeURL()
>
> > > The answer above describes an HTMLEncode method which I have been
> > > unable to find in any generally available API but is simple enough
> > > to write anyway.
> > [ ... ]
> >
> > java.net.URLEncoder.encode()
>
> Encodes strings so that they can be passed as part of a URL which is
> actually what the chappy described not HTMLEncoding which converts
> characters into either &code; equivalents or &#XXX; values so that
> they may be interpreted without problem by a browser.
The previous talk was about encoding URLs (to deal with "unacceptable
characters), and that's what java.net.URLEncoder.encode() does.
You're now asking for something different (and I don't know of
anything that does that -- although I haven't really looked).
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[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