Request Encoding

2010-03-15 Thread Ulf Liedén
Hi all, when my struts application receives form entries containing french character (i.e. é è) they are converted to something else, like é è. This has probably something to do with how the request is encoded. I've tried to add ServletActionContext.getRequest().setCharacterEncoding(UTF-8);

Re: Request Encoding

2010-03-15 Thread Lukasz Lenart
2010/3/15 Ulf Liedén u...@lieden.net: to the JSP, but this doesn't help. Any suggestions? Add encoding filter to web.xml Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To

Re: Request Encoding

2010-03-15 Thread Manos Batsis
Ulf Liedén wrote: when my struts application receives form entries containing french character (i.e. é è) they are converted to something else, like é è. This has probably something to do with how the request is encoded. I've tried to add

Re: Request Encoding

2010-03-15 Thread Ulf Liedén
Hi Manos, Lukasz, and thanks for the replies. Setting the URIEncoding=UTF-8 in the server.xml didn't do the trick for me, but so did an UTF8Filter in the web.xml. Best regards, Ulf On Mon, Mar 15, 2010 at 11:20 AM, Manos Batsis manos_li...@geekologue.comwrote: Ulf Liedén wrote: when my

Re: struts request encoding to utf-8 problem

2008-01-24 Thread wessam
//ensure statement is closed properly { try { statement.close () ; } catch ( SQLException e ) {} } } what should i do to middleware ? -- View this message in context: http://www.nabble.com/struts-request-encoding-to-utf-8-problem

struts request encoding to utf-8 problem

2008-01-23 Thread wessam
nocache=true / the point is the the characters reaches the action class corectly but when i save to datbase an retrieve again it's viewed corrupted in the page any help please?? -- View this message in context: http://www.nabble.com/struts-request-encoding-to-utf-8-problem

Re: struts request encoding to utf-8 problem

2008-01-23 Thread Robert Slama
try : request.setCharacterEncoding(encoding); response.setCharacterEncoding(encoding); filterChain.doFilter(request, response); r^ S pozdravom Robert Slama SpiritLine s.r.o. Bernolakova ul. 1A 901 01 Malacky [EMAIL PROTECTED] gsm: +421 905 122 841 tel: +421 34 778 20 88

Re: struts request encoding to utf-8 problem

2008-01-23 Thread wessam
i did add response.setCharacterEncoding(encoding), in EncodingFilter class but still output corrupted characters in the jsp :( i really need to solve this problem as soon as possible .. any help please ? -- View this message in context: http://www.nabble.com/struts-request-encoding-to-utf-8

Re: struts request encoding to utf-8 problem

2008-01-23 Thread Laurie Harper
wessam wrote: i'm using struts 1.1, oracle 10g environment i'm facing a problem that i can't save special characters as ẻ, € from the page to database correctly though i used all the possible ways to set the encoding to utf-8 [...] the point is the the characters reaches the action class

Re: struts request encoding to utf-8 problem

2008-01-23 Thread Laurie Harper
other solutions i missed ?? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Quoted from: http://www.nabble.com/struts-request-encoding-to-utf-8-problem- tp15041079p15046261.html

guessing request encoding (was RE: How do I get Chinese Arabic to/from struts)

2004-10-12 Thread Hiran.Chaudhuri
Hi, all. I thought about guessing the incoming data's encoding. How about having a hidden input tag with a default value provided by the server. When this value comes back, the server could guess the encoding used by looking at the bytes of this parameter. I'd somehow like to see this solved