Hi,

the java.net.URLEncoder does the encoding of urls (MIME:
x-www-form-urlencoded) to preserve the parameters in URLs, it does not
encode special characters to their corresponding HTML Entities, which is
something quite different.

cheers,
detlef

---- Original Message -----
From: "Malcolm Edgar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 17, 2002 9:29 PM
Subject: Re: [Tapestry-developer] Handling of special characters (german
umlaut etc.)


> Hi detlef,
>
> There is the java.net.URLEncoder class for character encoding, see the
> encode() method. I dont know about german umlaut, but the Java 1.4 version
> of this class include a Locale parameter to this method.
>
> Hope this helps.
>
> regards Malcolm
>
> >From: "detlef schulze" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Subject: [Tapestry-developer] Handling of special characters (german
umlaut
> >etc.)
> >Date: Sun, 17 Nov 2002 17:11:46 +0100
> >
> >Hi all,
> >
> >I just wonder if tapestry has any facility to handle the transformation
of
> >for example german umlauts or characters like ">" to their HTML Entities
> >like &auml; or &gt; respectively.




-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to