I have added an acceptCharset attribute to the FormTag. <html:form action="abc.do" acceptCharset="UTF-8">
which will generate something as <form action="abc.do" method="post" accept-charset="UTF-8"> Should be available in the next nightly build - 22/07/2004 Niall ----- Original Message ----- From: "Carl-Eric Menzel (bitFORCE media)" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Cc: "Larry Young" <[EMAIL PROTECTED]> Sent: Wednesday, July 21, 2004 8:36 PM Subject: Re[2]: character encoding > > Carl-Eric, > > > Yes, I tried the charset on the form but found it didn't do any good. > > > But what do you force the Encoding to in your Filter? How can you > > know with any certitude how the browser encoded the data values before > > sending it to you?? It probably works well if the browser is setup to > > "auto-select" the encoding, but what do you do if they have it explicitly > > set to something other than what you are assuming? > > Then I'm out of luck. That's the biggest problem with Strut's lack of > support for the accept-charset attribute. *Most of the time* it works > that if you send the response in UTF-8 the next request will come in > as UTF-8 too. That's what I'm doing now - I send out only UTF-8 forms > and assume that I get the same back. It's an ugly hack, but the only > way that seems to work at the moment. > > I asked a few weeks ago if there was any way for me to extend the form > tag to support this attribute, or whether there is any good reason why > it is not implemented. So far I haven't received an answer. > > Carl-Eric > -- > Antwort: Weil es das Lesen des Textes erschwert. | Carl-Eric Menzel > Frage : Warum ist das so schlimm? | PGP ID: 808F4A8E > Antwort: Antworten oben zu schreiben. | Bitte keine HTML- > Frage : Was ist die schlimmste Unsitte in Emails? | Mails schicken. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]