struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hirschmann, Bernhard" <Bernhard.Hirschm...@t-systems.com>
Subject AW: Transforming a String to valid HTML encoding
Date Tue, 14 Jan 2003 16:31:03 GMT

I wonder if this problem is too easy or too hard - may please somebody
comment this? 

Craig?

Thank you very much


----- original message -----

I still have the problem to transform a String containing national special
characters to the appropriate HTML encoding.

i.e.: "schön & reich" --> "sch&ouml;n &amp reich"

The class org.apache.struts.util.ResponseUtils only transforms the 4
characters <, >, & and " into their html representative. 

Is there another transformer around?

Any hints highly appreciated.

Regards,
Bernhard


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message