Re: Handling of special characters (german umlaut etc.)

"detlef schulze" <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <001801c28efb$e4bc8210$0302000a@sixpack>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.