Re: S:url and s:param and character encoding

2014-09-01 Thread Lukasz Lenart
2014-09-01 13:17 GMT+02:00 Miguel Almeida : > I actually had ${answer} and it > worked corretly. I had to change to the alternative due to > an issue with a JSP page with a grouped view - somewhere in the code the > variable #answer is probably being set differently, so with ${answer} I > would ge

Re: S:url and s:param and character encoding

2014-09-01 Thread Miguel Almeida
On Mon, 2014-09-01 at 10:20 +0200, Lukasz Lenart wrote: > 2014-08-29 18:11 GMT+02:00 Miguel Almeida : > > I had an issue recently with a download action not finding the > > corresponding file and you might be able to help me with it. The > > filename (on disk) was "Calendário" ("á" is the focus

Re: S:url and s:param and character encoding

2014-09-01 Thread Lukasz Lenart
2014-08-29 18:11 GMT+02:00 Miguel Almeida : > I had an issue recently with a download action not finding the > corresponding file and you might be able to help me with it. The > filename (on disk) was "Calendário" ("á" is the focus here). > > I am using the following s:url (Calendário is within the

RE: S:url and s:param and character encoding

2014-08-30 Thread Martin Gainty
Español <-- ¿no trabaja para ti ? --> > Subject: S:url and s:param and character encoding > From: mig...@almeida.at > To: user@struts.apache.org > Date: Fri

S:url and s:param and character encoding

2014-08-29 Thread Miguel Almeida
I had an issue recently with a download action not finding the corresponding file and you might be able to help me with it. The filename (on disk) was "Calendário" ("á" is the focus here). I am using the following s:url (Calendário is within the variable #answer):

AW: Problem with character encoding during redirect to another action

2011-01-27 Thread Rafael Karbowski
Thank you very much. This solved my problems. Best Regards, Rafael -Ursprüngliche Nachricht- Von: li wei [mailto:li.wei.linf...@gmail.com] Gesendet: Donnerstag, 27. Januar 2011 04:22 An: Struts Users Mailing List Betreff: Re: Problem with character encoding during redirect to another

Re: Problem with character encoding during redirect to another action

2011-01-26 Thread li wei
I think this is not a struts issue. are you using tomcat as your server? you can try to set URIEncoding of Connector to "utf-8" in server.xml (2011/01/26 23:45), Rafael Karbowski wrote: Hi @ all, I have a problem with the encoding of German umlauts. In the getter of the source action they a

Problem with character encoding during redirect to another action

2011-01-26 Thread Rafael Karbowski
Hi @ all, I have a problem with the encoding of German umlauts. In the getter of the source action they are correct, but the setter of the destination action sets bad encoded values. So far I can´t find any solution for this problem. It would be nice, if somebody has an idea how to fix it.

Re: Character Encoding Error using new filters

2010-10-20 Thread Zoran Avtarovski
ssage sert à l'information seulement et n'aura >pas n'importe quel effet légalement obligatoire. Étant donné que les email >peuvent facilement être sujets à la manipulation, nous ne pouvons accepter >aucune responsabilité pour le contenu fourni. >> >> >> >>

Re: RE: Character Encoding Error using new filters

2010-10-18 Thread Dave Newton
ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > > >

RE: Character Encoding Error using new filters

2010-10-18 Thread Martin Gainty
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Mon, 18 Oct 2010 12:05:56 +1100 > Subject: Character Encoding Error using new filters > From: zo...@sparecreative.com > To: user@struts.apache.org > > I have a

Re: Character Encoding Error using new filters

2010-10-17 Thread Li Ying
ld be overridden by [SiteMeshFilter]. > > I suggest you to read source or docs of [SiteMeshFilter], > check out if it changed CharacterEncoding and how to change the > setting of it to use a correct encoding. > > > > 2010/10/18 Zoran Avtarovski : >> I have a really

Re: Character Encoding Error using new filters

2010-10-17 Thread Li Ying
by [SiteMeshFilter]. I suggest you to read source or docs of [SiteMeshFilter], check out if it changed CharacterEncoding and how to change the setting of it to use a correct encoding. 2010/10/18 Zoran Avtarovski : > I have a really strange character encoding error that is appearing whe

Character Encoding Error using new filters

2010-10-17 Thread Zoran Avtarovski
I have a really strange character encoding error that is appearing when I attempt to change my struts2 filter configuration from: struts-cleanup org.apache.struts2.dispatcher.ActionContextCleanUp struts org.apache.struts2

RE: Struts 1: character encoding

2009-10-06 Thread Martin Gainty
ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Tue, 6 Oct 2009 10:49:41 -0700 > From: tommy...@yahoo.com > Subject: Re: Struts 1: character encoding > To: user@struts.apache.org > > - Original Message > > From: senderj > > To:

Re: Struts 1: character encoding

2009-10-06 Thread Tommy Pham
- Original Message > From: senderj > To: user@struts.apache.org > Sent: Tue, October 6, 2009 3:28:08 AM > Subject: Struts 1: character encoding > > > The components I use NetBean, Glassfish, Struts 1, EJB, Toplink, jdbc, MySQL. > Basically what I want is to extr

Struts 1: character encoding

2009-10-06 Thread senderj
changes done by the software components I use (Struts? toplink? jdbc?), but don't know which one and I may be wrong. If anybody has any idea on this problem please help. -- View this message in context: http://www.nabble.com/Struts-1%3A-character-encoding-tp25766281p25766281.html Sent fr

Re: Character Encoding and s:textarea

2008-07-04 Thread Richard Sayre
t;> Thank you, >> >> Rich > > - Are the characters retrieved from the database correctly? (i.e. if you > check the data you're sending to the textarea, is it right?) > > - What character encoding are you using to serve the page? > > - Do you have a @page dir

Re: Character Encoding and s:textarea

2008-07-03 Thread Laurie Harper
the ? get saved in the db as ?. Any ideas as to what is happening or how to fix it? Thank you, Rich - Are the characters retrieved from the database correctly? (i.e. if you check the data you're sending to the textarea, is it right?) - What character encoding are you using to serve the

Character Encoding and s:textarea

2008-07-03 Thread Richard Sayre
I have a form containing text areas. When I copy a bunch of character data such as: 2öÂnJ1ÈÏúÄp8éÎdìåmðh4uæEÍÉieÔWán2ÅìbØÉÅÀ1JÎZÏôsC5LòÚAPúÜaÃÙPC5üÆCJWCOzùÙtÒQqùét into the text are, it displays normally. When I save the data, the database stores the characters properly, when the data returns t

Character encoding for http request - Configuration for complete application

2008-06-24 Thread Raghuveer
I am working on I18N application. To handle Http request and response in utf8 I have added following code in my Actionform. Is there way in struts to configure this for my complete application in struts? If it is normal servlet we can do this in init() method. public void reset(A

Re: Character encoding problems with Struts 2 and Freemarker or Velocity

2008-01-02 Thread Jonny Cavell
is class as the struts.freemarker.manager.classname in > struts.properties, it makes no difference - the output is garbled. > > Does anybody know why this might be the case? > > Thanks > > Jonny > > -- View this message in context: http://www.nabble.com/Character-en

RE: Character encoding problems with Struts 2 and Freemarker or Velocity

2007-12-29 Thread Martin Gainty
content contained within this transmission.> Date: Sat, 29 Dec 2007 08:23:01 -0800> From: [EMAIL PROTECTED]> To: user@struts.apache.org> Subject: Character encoding problems with Struts 2 and Freemarker or Velocity> > > I am setting default_encoding=UTF-8 in freemarker.proper

Character encoding problems with Struts 2 and Freemarker or Velocity

2007-12-29 Thread Jonny Cavell
ext: http://www.nabble.com/Character-encoding-problems-with-Struts-2-and-Freemarker-or-Velocity-tp14538951p14538951.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROT

Re: Configuring Struts to use UTF-8 character encoding

2007-12-06 Thread Mark McLaren
several days of playing around with a sandbox Struts application that worked, but our webapp that didn't, we finally realized that the ORDER of the filters matters (duh...). We put the character encoding filter first in our chain and it fixed everything. The problem was it was initially

Re: Configuring Struts to use UTF-8 character encoding

2007-12-05 Thread Adam Gordon
So, for posterity, we finally got this working. After several days of playing around with a sandbox Struts application that worked, but our webapp that didn't, we finally realized that the ORDER of the filters matters (duh...). We put the character encoding filter first in our chain a

Re: Configuring Struts to use UTF-8 character encoding

2007-11-30 Thread Adam Gordon
f our web forms... Thanks for the link. --adam Ted Husted wrote: On Nov 28, 2007 10:53 AM, Adam Gordon <[EMAIL PROTECTED]> wrote: What about the use of a filter to set the character encoding? Is this the only way to go for Struts? I'd say so. It might be possible to add some

Re: Configuring Struts to use UTF-8 character encoding

2007-11-28 Thread Ted Husted
On Nov 28, 2007 10:53 AM, Adam Gordon <[EMAIL PROTECTED]> wrote: > What about the use of a filter to set the character encoding? Is this > the only way to go for Struts? I'd say so. It might be possible to add something to the ActionServlet, but the solution wouldn't be

Re: Configuring Struts to use UTF-8 character encoding

2007-11-28 Thread Adam Gordon
Right, hence my last comment in the second paragraph... Incidentally, I saw that web page yesterday and was the one who added the anonymous posting about the URIEncoding attribute not appearing to do anything. What about the use of a filter to set the character encoding? Is this the only

Configuring Struts to use UTF-8 character encoding

2007-11-27 Thread Adam Gordon
Anyone know if there's a configuration parameter somewhere in Struts 1.2.9 that configures the requests to use UTF-8 character encoding? Everything I've found on the web says that Tomcat uses ISO-8859-1 as the default character encoding and that the "fix" is to add a filt

Re: Character encoding...

2007-03-24 Thread riffla
ngW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFGBTHz9CaO5/Lv0PARAhBmAJ9tZwUR1Z0cR8tEBVbPgg05jlcSsQCgjyN+ > p7Ca211yjPSdh1QzQa7Z1Us= > =9SFl > -END PGP SIGNATURE- > > ----- >

Re: Character encoding...

2007-03-24 Thread Christopher Schultz
n, ServletException { if(null == request.getCharacterEncoding()) { request.setCharacterEncoding("UTF-8"); log.debug(this.getClass().getName() + ": Set request to " + request.getCharacterEncoding()); chain.doFilter(request, response); } } If you are

Re: Character encoding...

2007-03-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Riffla, riffla wrote: > Encoding set in: > > JSP Page directive > Content inside Html Meta tag > And there is also a charsetFilter class used (see below) This last one is used for overriding /request/ encoding, right? > > PARAMETER_ENCODING > UTF

Re: Character encoding...

2007-03-24 Thread riffla
s de caractère privé ou confidentiel. Si vous n'êtes pas le > destinataire de ce document, nous vous signalons qu'il est strictement > interdit de le diffuser, de le distribuer ou de le reproduire. > - Original Message - > From: "riffla" <[EMAIL PROTECTED]

Re: Character encoding...

2007-03-23 Thread Martin Gainty
signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "riffla" <[EMAIL PROTECTED]> To: Sent: Friday, March 23, 2007 9:42 PM Subject: Re: Character encoding... > > Encoding set in: > > JS

Re: Character encoding...

2007-03-23 Thread riffla
Encoding set in: JSP Page directive Content inside Html Meta tag And there is also a charsetFilter class used (see below) Struts-config.xml contains: === === web.xml contains: === Character Encoding se.telia.kontaktamig.web.util.CharsetFilter Character Encoding /* PARAMETER_ENCODING

Re: Character encoding...

2007-03-23 Thread Christopher Schultz
relevant. Only the character encoding is. Where do you set the character encoding of your pages? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGBEen9CaO5/Lv0PARAg3FAJ950MJ6Y8XIqGmysRxtphNCETWzogCgq57d pZ

Re: Character encoding...

2007-03-23 Thread riffla
d ö with '?' > > Where do you see the '?'? In a web page? In a log file? In the results > of a database query from a command-line tool? It's possible that your > output isn't sensitive to the character encoding (for instance, a > terminal

Re: Character encoding...

2007-03-23 Thread Christopher Schultz
es my å,ä > and ö with '?' Where do you see the '?'? In a web page? In a log file? In the results of a database query from a command-line tool? It's possible that your output isn't sensitive to the character encoding (for instance, a terminal window or log file). >

Re: Character encoding...

2007-03-23 Thread riffla
es is set prior to any code in the >> form class, so that you can't set the characterEncoding in the form class >> (at, for example, the beginning of initialize() method), or...? > > Correct. You have to use a Filter to do this. Search the archives for > "character enco

Re: Character encoding...

2007-03-23 Thread Christopher Schultz
r...? Correct. You have to use a Filter to do this. Search the archives for "character encoding filter" and you should find a lot of information, including the code for the filter itself (or at least a link to the code). - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW

Re: Character encoding...

2007-03-23 Thread riffla
And I guess that the form bean attributes is set prior to any code in the form class, so that you can't set the characterEncoding in the form class (at, for example, the beginning of initialize() method), or...? Joe Germuska wrote: > >>I had problem with character encoding in my w

Re: Struts2, tiles2 and character encoding problem

2007-02-08 Thread elin
> > This is not used to directly set the response character encoding. > > I use a CharacterEncodingFilter to set encoding to UTF-8. > > > In my experience, a CharacterEncodingFilter is used to control the request > content type, not the response content type. That's

Re: Struts2, tiles2 and character encoding problem

2007-02-07 Thread Joe Germuska
OK, a few more notes: just to be clear, I have specified struts.i18n.encoding=UTF-8. This is not used to directly set the response character encoding. I use a CharacterEncodingFilter to set encoding to UTF-8. In my experience, a CharacterEncodingFilter is used to control the request

Re: Struts2, tiles2 and character encoding problem

2007-02-07 Thread elin
ntent-Type header Elin -- View this message in context: http://www.nabble.com/Struts2%2C-tiles2-and-character-encoding-problem-tf3181491.html#a8845842 Sent from the Struts - User mailing list archive at Nabble.com. - To unsu

Re: Struts2, tiles2 and character encoding problem

2007-02-07 Thread Joe Germuska
d in the next build? Monitoring the response with fiddler shows that there is no content-type header. I use a tiles definition file and the insertAttribute tag to build the tiles result. Elin -- View this message in context: http://www.nabble.com/Struts2%2C-tiles2-and-character-encoding-problem-t

Re: Struts2, tiles2 and character encoding problem

2007-02-07 Thread elin
-character-encoding-problem-tf3181491.html#a8841954 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts2, tiles2 and character encoding problem

2007-02-06 Thread Joe Germuska
e. Any ideas? /Elin -- View this message in context: http://www.nabble.com/Struts2%2C-tiles2-and-character-encoding-problem-tf3181491.html#a8828883 Sent from the Struts - User mailing list archive at Nabble.com. - To unsub

Struts2, tiles2 and character encoding problem

2007-02-06 Thread elin
-tiles2-and-character-encoding-problem-tf3181491.html#a8828883 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: multipart/form-data and character encoding

2006-05-30 Thread Martin Gainty
destroy the original message without making a copy. Thank you. - Original Message - From: "Antonis Lebesis" <[EMAIL PROTECTED]> To: "Martin Gainty" <[EMAIL PROTECTED]> Cc: "Struts Users Mailing List" Sent: Monday, May 29, 2006 8:14 PM Subject: Re:

Re: multipart/form-data and character encoding

2006-05-29 Thread Antonis Lebesis
rtin Gainty" <[EMAIL PROTECTED]> Sent: Monday, May 29, 2006 7:26 PM Subject: Re: multipart/form-data and character encoding > Hello Martin, > I tried your suggestion but there is a difference in my case: The > enctype in my form's declaration is "multipart/form-da

Re: multipart/form-data and character encoding

2006-05-29 Thread Martin Gainty
; "Martin Gainty" <[EMAIL PROTECTED]> Sent: Monday, May 29, 2006 7:26 PM Subject: Re: multipart/form-data and character encoding Hello Martin, I tried your suggestion but there is a difference in my case: The enctype in my form's declaration is "multipart/form-data&q

Re: multipart/form-data and character encoding

2006-05-29 Thread Miguel Galves
} > > super.process(request, response); > } > > To use this processor, just change the controller entry in struts-config.xml > > []s > > Miguel > > > On 5/29/06, Martin Gainty <[EMAIL PROTECTED]> wrote: > > > > Good Afternoon Antonis

Re: multipart/form-data and character encoding

2006-05-29 Thread Antonis Lebesis
hange the controller entry in struts-config.xml []s Miguel On 5/29/06, Martin Gainty <[EMAIL PROTECTED]> wrote: > > Good Afternoon Antonis- > > This character encoding issue has been addressed > http://issues.apache.org/struts/browse/STR-2117 as follows > > Set your page to u

Re: multipart/form-data and character encoding

2006-05-29 Thread Antonis Lebesis
TED]> wrote: Good Afternoon Antonis- This character encoding issue has been addressed http://issues.apache.org/struts/browse/STR-2117 as follows Set your page to use correct character encoding <%@ page ;contentType="text/html" charset=UTF-8"%> Set form to use c

Re: multipart/form-data and character encoding

2006-05-29 Thread Miguel Galves
r entry in struts-config.xml []s Miguel On 5/29/06, Martin Gainty <[EMAIL PROTECTED]> wrote: Good Afternoon Antonis- This character encoding issue has been addressed http://issues.apache.org/struts/browse/STR-2117 as follows Set your page to use correct character encoding <%@ page ...

Re: multipart/form-data and character encoding

2006-05-29 Thread Martin Gainty
Good Afternoon Antonis- This character encoding issue has been addressed http://issues.apache.org/struts/browse/STR-2117 as follows Set your page to use correct character encoding <%@ page ;contentType="text/html" charset=UTF-8"%> Set form to use correct form enc

multipart/form-data and character encoding

2006-05-29 Thread Antonis Lebesis
Hi, I 've searched the archives but haven't found any solution to my latest problem. I have with a input and a input. The problem is that request.getCharacterEncoding() returns null and the text input is considered to be in iso-8859-1 encoding. In the corresponding ActionForm's reset(), I have a

RE: Problem with character encoding.

2006-03-21 Thread Anjishnu Bandyopadhyay
Hi Dan, Both are on Windows. With best regards, Anjishnu. -Original Message- From: Dan Jas [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 9:45 PM To: Struts Users Mailing List Subject: Re: Problem with character encoding. Are you using WSAD on Windows and Tomcat on Unix/Linux

Re: Problem with character encoding.

2006-03-21 Thread Dave Newton
Anjishnu Bandyopadhyay wrote: > I am generating a MS Word document through a JSP, by setting the JSP's > content type as "application/msword;". > I really don't understand why you persist in thinking that _calling_ something a Word document _makes_ it a Word document. As I have stated several t

Re: Problem with character encoding.

2006-03-21 Thread Dan Jas
Are you using WSAD on Windows and Tomcat on Unix/Linux? - Original Message - From: "Anjishnu Bandyopadhyay" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, March 21, 2006 5:51 AM Subject: Problem with character encoding. Hi all,

Re: Problem with character encoding.

2006-03-21 Thread Antonio Petrelli
Anjishnu Bandyopadhyay ha scritto: Hi all, I am generating a MS Word document through a JSP, by setting the JSP's content type as "application/msword;". Are you using a particular library to generate the file? Anyway generating an MS Word file through JSP seems odd to me... The ".doc" t

Problem with character encoding.

2006-03-21 Thread Anjishnu Bandyopadhyay
Hi all, I am generating a MS Word document through a JSP, by setting the JSP's content type as "application/msword;". The ".doc" that is generated contains accentuated French characters (special French characters). I use Websphere (WSAD) to develop the code, but use Tomcat server for deploy

Re: So boring issues about character encoding in action ......

2005-10-18 Thread Joe Germuska
At 1:44 PM +0800 10/18/05, Tony Lu wrote: I need to create an internationalized Web application by struts,mysql and hibernate. Each component Character Encoding is utf8. It runs well when I run a pure servlet to save 'Chinese Character' to database and load it from database.

Re: So boring issues about character encoding in action ......

2005-10-17 Thread Tony Lu
]> wrote: > > Hi, > In the struts action you are setting character encoding on 'request' > object req ,it however needs to be on 'response' ie res. > > Deepesh. > > > public class TestAction extends Action{ > public ActionForward execute(ActionMapp

Re: So boring issues about character encoding in action ......

2005-10-17 Thread Deepesh Nandal
Hi, In the struts action you are setting character encoding on 'request' object req ,it however needs to be on 'response' ie res. Deepesh. public class TestAction extends Action{ public ActionForward execute(ActionMapping mapping, ActionForm form, Ht

So boring issues about character encoding in action ......

2005-10-17 Thread Tony Lu
I need to create an internationalized Web application by struts,mysql and hibernate. Each component Character Encoding is utf8. It runs well when I run a pure servlet to save 'Chinese Character' to database and load it from database. But when I implement it with struts action, the appli

Re: Character encoding...

2005-09-11 Thread Joe Germuska
I had problem with character encoding in my web application. I was trying to display Polish characters using UTF-8 but data from forms was not getting in proper format to the business layer. I managed to solve this by setting filter which does request.setCharacterEncoding(encoding); But the

Character encoding...

2005-09-11 Thread Wojciech Ciesielski
Hi, I had problem with character encoding in my web application. I was trying to display Polish characters using UTF-8 but data from forms was not getting in proper format to the business layer. I managed to solve this by setting filter which does request.setCharacterEncoding(encoding); But

Re: How to set character encoding of the incoming request in Struts 1.2.4

2005-05-19 Thread Jason Lea
I use a servlet filter to set the encoding before it reaches struts souravm wrote: Hi All, I want to set the chracter encoding of incoming http request by using HttpServletRequest.setCharacterEncoding() api. How do I do it using Struts 1.2.4 ? Does it provide any configuration parameter to do th

How to set character encoding of the incoming request in Struts 1.2.4

2005-05-19 Thread souravm
Hi All, I want to set the chracter encoding of incoming http request by using HttpServletRequest.setCharacterEncoding() api. How do I do it using Struts 1.2.4 ? Does it provide any configuration parameter to do the same ? Or one has to subclass the RequestProcessor class to do the same ? Or

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-07 Thread Guillaume Cottenceau
J.Patterson Waltz III writes: > Yep. That was it. > I commented out the filter definition for ResponseOverrideFilter and > everything displayed as expected. > I then reinstated it, placing it *after* the > SetCharacterEncodingFilter in web.xml, and all was still well. Great! > Really, really a

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread J . Patterson Waltz III
On 6 janv. 05, at 18:13, Guillaume Cottenceau wrote: I also have another filter, the ResponseOverrideFilter used by displaytag, which appears before the SetCharacterEncodingFilter in my web.xml. I wonder if it could be interfering with the SetCharacterEncodingFilter? Yes, if it reads the request pa

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread Guillaume Cottenceau
27;été' URLencoded as UTF-8. > >> > >> So I'm still stumped. :-( > > > > But that's exactly what you want. The SetCharacterEncodingFilter > > will set the character encoding of the HttpServletRequest before > > data is retrieved from it, and when it&#

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread J . Patterson Waltz III
erEncodingFilter will set the character encoding of the HttpServletRequest before data is retrieved from it, and when it's retrieved it should be correctly decoded. Are you sure the filter is up and running? I agree that that encoding is what I want. It's just that it's not getting d

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread Guillaume Cottenceau
J.Patterson Waltz III writes: > Notice in the third line of the form data: > &personTO.comments=%C3%A9t%C3%A9 > That's 'été' URLencoded as UTF-8. > > So I'm still stumped. :-( But that's exactly what you want. The SetCharacterEncodingF

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread J . Patterson Waltz III
On 6 janv. 05, at 17:17, Guillaume Cottenceau wrote: J.Patterson Waltz III writes: On 6 janv. 05, at 15:52, J.Patterson Waltz III wrote: Now, I guess I'll just have to try using the character encoding filter Guillaume recommended. Ack! I'm about to pull my hair out over these encoding

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread Guillaume Cottenceau
J.Patterson Waltz III writes: > On 6 janv. 05, at 15:52, J.Patterson Waltz III wrote: > > > > > > Now, I guess I'll just have to try using the character encoding > > filter Guillaume recommended. > > Ack! I'm about to pull my hair ou

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread J . Patterson Waltz III
On 6 janv. 05, at 15:52, J.Patterson Waltz III wrote: Now, I guess I'll just have to try using the character encoding filter Guillaume recommended. Ack! I'm about to pull my hair out over these encoding issues. I added the SetCharacterEncodingFilter from the Tomcat 5 distribution

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread J . Patterson Waltz III
at: it displayed validation errors saying that required form fields were missing (although they had been submitted with complete information and were visible in the response returned by the browser). Now, I guess I'll just have to try using the character encoding filter Guillaume rec

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-05 Thread J. Patterson Waltz III
in article [EMAIL PROTECTED], Josh Cronemeyer at [EMAIL PROTECTED] wrote on 4/01/05 18:02: > J. Patterson Waltz III wrote: > >> Merci Guillaume, >> >> I had actually seen the references to the Filter solution in the comments of >> Struts bug 16191 in Bugzilla: >> http://issues.apache.org/bugzill

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-05 Thread Guillaume Cottenceau
"J. Patterson Waltz III" writes: > P.S. - I know how to view the headers of replies sent from the server to the > browser, but am not sure how to get at those sent from the browser to the > server, to make sure that they are indeed UTF-8. Any suggestions? I usually temporarily modify the URL whe

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-04 Thread Josh Cronemeyer
J. Patterson Waltz III wrote: Merci Guillaume, I had actually seen the references to the Filter solution in the comments of Struts bug 16191 in Bugzilla: http://issues.apache.org/bugzilla/show_bug.cgi?id=16191 I will try that out and see if it improves my results. I remain perplexed at what changes

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-04 Thread J. Patterson Waltz III
Merci Guillaume, I had actually seen the references to the Filter solution in the comments of Struts bug 16191 in Bugzilla: http://issues.apache.org/bugzilla/show_bug.cgi?id=16191 I will try that out and see if it improves my results. I remain perplexed at what changes between versions 1.1 and 1

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-04 Thread Guillaume Cottenceau
"J. Patterson Waltz III" writes: > Hello, > > I recently upgraded a J2EE/Struts web application I'm working on to the > 1.2.4 version of Struts, and ever since I made this change, I've been > encountering a problem with the encoding of non-ascii character data > submitted in forms. All my pages

Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-04 Thread J. Patterson Waltz III
Hello, I recently upgraded a J2EE/Struts web application I'm working on to the 1.2.4 version of Struts, and ever since I made this change, I've been encountering a problem with the encoding of non-ascii character data submitted in forms. All my pages are set to use UTF-8 encoding (via a <%@ page p

Re[2]: character encoding

2004-07-21 Thread Carl-Eric Menzel
> I have added an acceptCharset attribute to the FormTag. > Should be available in the next nightly build - 22/07/2004 Hooray :) Thanks a lot, this is going to be very useful. Carl-Eric -- Antwort: Weil es das Lesen des Textes erschwert. | Carl-Eric Menzel Frage : Warum ist das so schlimm?

Re: character encoding

2004-07-21 Thread Niall Pemberton
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. > >

RE: character encoding

2004-07-21 Thread Meier, Niclas
e page (and form) and you won't get UTF-8 data back. This procedure worked fine on at least two major projects. Regards, Niclas -Original Message- From: Larry Young [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 9:39 PM To: Struts Users Mailing List Subject: Re: characte

RE: Re[3]: character encoding

2004-07-21 Thread Hookom, Jacob
\\-]+)(\\s*|;).*"); /** * Grab the character encoding from the request, if not found, check the * stored value. Finally, set the character encoding on the request * * @param context * @param stored * @throws FacesException */ protected void setCh

Re[3]: character encoding

2004-07-21 Thread Carl-Eric Menzel
> 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

Re[2]: character encoding

2004-07-21 Thread Carl-Eric Menzel
> 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

Re: character encoding

2004-07-21 Thread Larry Young
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

Re: character encoding

2004-07-21 Thread Carl-Eric Menzel
> I'd like to hear how others have solved this problem. I can see > that one solution is to replace the RequestProcessor and hardcode the > "setEncoding" on the Request to UTF-8, or subclass the whole > ActionServlet. Are there any cleaner solutions? I can't believe I'm the > only one

character encoding

2004-07-21 Thread Larry Young
Hello, I've run into a bit of a problem and I'd like to know how others have solved it. It's basically a character encoding issue. I post my struts-based JSP page to the user, they enter some data, and then submit the page back to my Action. The data they en

Re: struts response character encoding.

2004-07-19 Thread Olve Sæther Hansen
man, 19.07.2004 kl. 14.58 skrev Emmanouil Batsis: > There this system property you can set but I can't remember it, it's > used as the encoding to use when reading files... > > Anyway, I always edit my .jsp and .properties using UTF-8, then pass > them through the native2ascii ant task during m

Re: struts response character encoding.

2004-07-19 Thread Emmanouil Batsis
There this system property you can set but I can't remember it, it's used as the encoding to use when reading files... Anyway, I always edit my .jsp and .properties using UTF-8, then pass them through the native2ascii ant task during my build. It's just a wrapper for the same-named JDK binary;

Re: struts response character encoding.

2004-07-19 Thread Olve Sæther Hansen
sÃn, 18.07.2004 kl. 22.23 skrev Jason Lea: > Olve SÃther Hansen wrote: > > >Now I am saying false things. I thought my baseLayout.jsp had this > >entry.. It didn't. > > > >So it is enough specifying > ><%@ page contentType="text/html; charset=UTF-8"%> > >in the base tiles file if that architectur

Re: struts response character encoding.

2004-07-18 Thread Jason Lea
Olve SÃther Hansen wrote: Now I am saying false things. I thought my baseLayout.jsp had this entry.. It didn't. So it is enough specifying <%@ page contentType="text/html; charset=UTF-8"%> in the base tiles file if that architecture is used. I think it that should work. But I think I ran into

Re: struts response character encoding.

2004-07-18 Thread Olve Sæther Hansen
Now I am saying false things. I thought my baseLayout.jsp had this entry.. It didn't. So it is enough specifying <%@ page contentType="text/html; charset=UTF-8"%> in the base tiles file if that architecture is used. -- Olve SÃther Hansen <[EMAIL PROTECTED]> Intermedia/Aksis - Unifob AS --

  1   2   >