Re: problem with encoding of parameters, type="redirect"

2009-09-15 Thread Greg Lindholm
I would change your result configuration to: list ${nomeBusca} ${cpfBusca} ${page} This style works for me with unicode (Chinese) data. When you use the param tab it 'knows" it is for a URL and will properly encode the data. 2009/9/15 "Francisco Ba

Re: problem with encoding of parameters, type="redirect"

2009-09-15 Thread Francisco Barroso (Fortes Informática)
flow variable nomeBusca: (update) ColaboradorEditAction.java > xwork-Colaborador.xml > (list) ColaboradorListAction.java (BUG) ColaboradorEditAction.java-- package com.fortes.rh.web.action.geral; import com.fortes.rh.web.action.MyActionSupportEdit; import com.opensym

Re: problem with encoding of parameters, type="redirect"

2009-09-15 Thread Greg Lindholm
Better show your full action and result configuration from struts.xml so we can see how you are passing parameters. 2009/9/15 "Francisco Barroso (Fortes Informática)" < franciscobarr...@grupofortes.com.br> > I've done it already (change URIEncoding to UTF-8). > The problem persists... > > Greg Li

Re: problem with encoding of parameters, type="redirect"

2009-09-15 Thread Francisco Barroso (Fortes Informática)
I've done it already (change URIEncoding to UTF-8). The problem persists... Greg Lindholm escreveu: If If you are using Tomcat as a server then you will need to add URIEncoding="UTF-8" attribute to the Connector in the server.xml file, If not specified, ISO-8859-1 will be used [1]. This URIEnco

Re: problem with encoding of parameters, type="redirect"

2009-09-15 Thread Francisco Barroso (Fortes Informática)
I've done it already (change the struts.i8n.encoding in struts.xml/properties). The problem persists... Tommy Pham escreveu: - Original Message From: Francisco Barroso (Fortes Informática) To: user@struts.apache.org Sent: Tuesday, September 15, 2009 8:29:56 AM Subject: problem w

Re: problem with encoding of parameters, type="redirect"

2009-09-15 Thread Greg Lindholm
If If you are using Tomcat as a server then you will need to add URIEncoding="UTF-8" attribute to the Connector in the server.xml file, If not specified, ISO-8859-1 will be used [1]. This URIEncoding attribute applies only to GET requests (not POST). [1] http://tomcat.apache.org/tomcat-5.5-doc/co

Re: problem with encoding of parameters, type="redirect"

2009-09-15 Thread Tommy Pham
- Original Message > From: Francisco Barroso (Fortes Informática) > > To: user@struts.apache.org > Sent: Tuesday, September 15, 2009 8:29:56 AM > Subject: problem with encoding of parameters, type="redirect" > > I just migrated my application from ISO8859-1 to UTF-8. > I have a problem

Re: Problem with encoding

2007-01-03 Thread Dariusz Wojtas
I was just going to recommend the same app. Works for me with 3.2 But there is also a standalone JNLP app. Works perfectly. Dariusz Wojtas On 1/3/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: Mike Baroukh ha scritto: > Do you know if there is a way to tell him to do it automatically ? > It's

Re: Problem with encoding

2007-01-03 Thread Antonio Petrelli
Mike Baroukh ha scritto: Do you know if there is a way to tell him to do it automatically ? It's strange that Eclipse default properties editor doesnt handle this automatically, isn't it ? Try this: http://propedit.sourceforge.jp/index_en.html I used it a while ago with Eclipse 3.1. It seems n

Re: Problem with encoding

2007-01-03 Thread Mike Baroukh
>UTF-8 encoding isn't legal for resource properties files; they have to be ASCII-encoded with Unicode escapes for non-ASCII characters. >Use the JDK utility 'native2ascii' to convert them from UTF-8 to the correct encoding and syntax and see if that helps. Yes, it works. I wasn't aware of it. I

Re: Problem with encoding

2007-01-02 Thread Laurie Harper
Mike Baroukh wrote: Hi. I have a problem with accents. My project is entirely in utf-8 : jsps, java sources, resources properties Depending on the way I put accents in my jsp, it works or not : work : - directly in the jsp source - with s:property -> converted with à by freemarker. -

Re: Problem with encoding

2007-01-02 Thread Tom Schneider
Does it have anything to do with HTML escaping? There is no way to turn off html escaping in the s:text tag. (I probably should file a bug) I didn't see anything for textfield--I'm not sure what the escaping behavior is. What shows up on the screen in the non-working case, escaped HTML or noth