Re: AW: Transforming a String to valid HTML encoding

2003-01-29 Thread Affan Qureshi
The struts html/nested tags replace these characters with the question marks. This is probably because they are trying to use a filter. Now if I use my own Encoding/Decoding I will have to turn struts filtring off as u said. I can do it in tags but I can find a way to do this in and etc. This i

Re: AW: Transforming a String to valid HTML encoding

2003-01-28 Thread Affan Qureshi
"'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 2:16 PM Subject: AW: AW: Transforming a String to valid HTML encoding Thank you for your help, Craig. I don't know if you got me completely right.. or maybe I didn't understa

Re: AW: AW: AW: AW: Transforming a String to valid HTML encoding

2003-01-15 Thread Dan Tran
nesday, January 15, 2003 2:46 AM Subject: Re: AW: AW: AW: AW: Transforming a String to valid HTML encoding 2003. január 15. 11:32 dátummal Hirschmann, Bernhard ezt írtad: > I think I have to study this in more detail - it still isn't quite clear > for me. > What is this SetCharacter

Re: AW: AW: AW: AW: Transforming a String to valid HTML encoding

2003-01-15 Thread Giri Alwar
ts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 4:46 AM Subject: Re: AW: AW: AW: AW: Transforming a String to valid HTML encoding 2003. január 15. 11:32 dátummal Hirschmann, Bernhard ezt írtad: > I think I have to study this in more detail - it still is

Re: AW: AW: AW: AW: Transforming a String to valid HTML encoding

2003-01-15 Thread Gemes Tibor
2003. január 15. 11:32 dátummal Hirschmann, Bernhard ezt írtad: > I think I have to study this in more detail - it still isn't quite clear > for me. > What is this SetCharacterEncoding filter doing? Is it only working with > Tomcat? (We use WebSphere 4) I don't know websphere, but if it conforms

AW: AW: AW: AW: Transforming a String to valid HTML encoding

2003-01-15 Thread Hirschmann, Bernhard
>> Nothing is wrong with utf-8. Maybe it would be the best to use it, even >> though everything is much more complex while handling stuff like the html >> form entries, which have to be converted. > No, as far as you are using the SetCharacterEncoding filter coming with the > example applicatio

Re: AW: AW: AW: Transforming a String to valid HTML encoding

2003-01-15 Thread Gemes Tibor
2003. január 15. 10:52 dátummal Hirschmann, Bernhard ezt írtad: > >> The reason is, that I don't want to use utf-8, but ISO-8859-1 for my > >> html pages. And if a "ü" appears in the ISO-8859-1 characterset in the > > browser, > > > What is wrong with utf-8? > > Nothing is wrong with utf-8. Maybe i

AW: AW: AW: Transforming a String to valid HTML encoding

2003-01-15 Thread Hirschmann, Bernhard
>> The reason is, that I don't want to use utf-8, but ISO-8859-1 for my html >> pages. And if a "ü" appears in the ISO-8859-1 characterset in the browser, > What is wrong with utf-8? Nothing is wrong with utf-8. Maybe it would be the best to use it, even though everything is much more complex wh

Re: AW: AW: Transforming a String to valid HTML encoding

2003-01-15 Thread Gemes Tibor
2003. január 15. 10:16 dátummal Hirschmann, Bernhard ezt írtad: > The reason is, that I don't want to use utf-8, but ISO-8859-1 for my html > pages. And if a "ü" appears in the ISO-8859-1 characterset in the browser, What is wrong with utf-8? Tib -- To unsubscribe, e-mail:

AW: AW: Transforming a String to valid HTML encoding

2003-01-15 Thread Hirschmann, Bernhard
oder transforms into "application/x-www-form-urlencoded MIME format", used for the URLs. But this format is not for the body of a html page, right? Regards, Bernhard -Ursprüngliche Nachricht- Von: Craig R. McClanahan Gesendet: Dienstag, 14. Januar 2003 19:06 An: Struts Users

Re: Transforming a String to valid HTML encoding

2003-01-14 Thread Dan Tran
ser Mailing List (E-Mail)" <[EMAIL PROTECTED]> > Sent: Tuesday, January 14, 2003 3:32 AM > Subject: Transforming a String to valid HTML encoding > > > > > I still have the problem to transform a String containing national special > characters to the appropriate H

Re: Transforming a String to valid HTML encoding

2003-01-14 Thread Dan Tran
M Subject: Transforming a String to valid HTML encoding I still have the problem to transform a String containing national special characters to the appropriate HTML encoding. i.e.: "schön & reich" --> "schön & reich" The class org.apache.struts.util.ResponseUtils

Re: AW: Transforming a String to valid HTML encoding

2003-01-14 Thread Craig R. McClanahan
On Tue, 14 Jan 2003, Hirschmann, Bernhard wrote: > Date: Tue, 14 Jan 2003 17:31:03 +0100 > From: "Hirschmann, Bernhard" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROT

AW: Transforming a String to valid HTML encoding

2003-01-14 Thread Hirschmann, Bernhard
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

Transforming a String to valid HTML encoding

2003-01-14 Thread Hirschmann, Bernhard
I still have the problem to transform a String containing national special characters to the appropriate HTML encoding. i.e.: "schön & reich" --> "schön & reich" The class org.apache.struts.util.ResponseUtils only transforms the 4 characters <, >, & and " into their html representative. Is th

Transforming a String to valid HTML encoding

2003-01-13 Thread Hirschmann, Bernhard
I still have the problem to transform a String containing national special characters to the appropriate HTML encoding. i.e.: "schön & reich" --> "schön & reich" The class org.apache.struts.util.ResponseUtils only transforms the 4 characters <, >, & and " into their html representative. But in a

RE: Transforming a String to valid HTML encoding

2002-12-11 Thread Dennis van den Berg
character entities. Parameters: value - The string to be filtered and returned Hope this helps. Dennis -Original Message- From: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]] Sent: woensdag 11 december 2002 17:35 To: Struts User Mailing List (E-Mail) Subject: Transforming a String to valid

Re: Transforming a String to valid HTML encoding

2002-12-11 Thread Andrew Watters
Can you use java.net.URLEncoder.encode(String s,String enc) (since J2SE 1.4)? - Original Message - From: "Hirschmann, Bernhard" <[EMAIL PROTECTED]> To: "Struts User Mailing List (E-Mail)" <[EMAIL PROTECTED]> Sent: Wednesday, December 11, 2002 4:34 PM S

Transforming a String to valid HTML encoding

2002-12-11 Thread Hirschmann, Bernhard
Hello! Is there a parser around, which is able to parse a String with special characters (like in the German language), and can transform them into valid html encoding? (like "schön" for schön) Best regards Bernhard -- To unsubscribe, e-mail: For additional comm