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 wrote: > Ulf Liedén wrote: > >> when my struts application receiv

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 ServletActionContext.getRequest().setCharacterEncoding

Re: Request Encoding

2010-03-15 Thread Lukasz Lenart
2010/3/15 Ulf Liedén : > 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 unsubscribe, e-mail: us

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: struts request encoding to utf-8 problem

2008-01-24 Thread wessam
String query = "insert into TEST (test) values ('" + text + "')"; boolean result = statement.execute( query ) ; } catch(SQLException e) { e.printStackTrace(); } finally //ensure statement is closed properly { try {

Re: struts request encoding to utf-8 problem

2008-01-23 Thread Laurie Harper
before setting in in the formBean to avoid that database encoding isn't utf-8 but it also didn't work !!! any other solutions i missed ?? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

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 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 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

struts request encoding to utf-8 problem

2008-01-23 Thread wessam
viewed corrupted in the page any help please?? -- View this message in context: http://www.nabble.com/struts-request-encoding-to-utf-8-problem-tp15041079p15041079.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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 tr