Re: Struts and encoding ISO-8859-1

2009-04-28 Thread Jeroen De Ridder
m To: user@struts.apache.org Subject: Re: Struts and encoding ISO-8859-1 You shouldn't technically need Struts 2.1.7 to be able to use UTF-8. If you want to stick with 2.1.6, there are two options: either you use useBodyEncodingForURI="true" in Tomcat's server.xml, or you explici

RE: Struts and encoding ISO-8859-1

2009-04-28 Thread Niklas Johansson
pache.org > Subject: Re: Struts and encoding ISO-8859-1 > > You shouldn't technically need Struts 2.1.7 to be able to use UTF-8. If > you want to stick with 2.1.6, there are two options: either you use > useBodyEncodingForURI="true" in Tomcat's server.xml, or you

Re: Struts and encoding ISO-8859-1

2009-04-28 Thread Jeroen De Ridder
working? Do you have any prescription for getting it to work with UTF-8, or is it the same as you already explained below?. I am not paranoid aout saving a few bytes :) Thanks again! Regards, Niklas ---------------- Date: Sun, 26 Apr 2009 23:36:13 +0200 From: voetsjo

RE: Struts and encoding ISO-8859-1

2009-04-27 Thread Niklas Johansson
:36:13 +0200 > From: voetsjo...@gmail.com > To: user@struts.apache.org > Subject: Re: Struts and encoding ISO-8859-1 > > Well, ISO-8859-1 and UTF-8 differ in the fact that ISO-8859-1 is a > single-byte encoding and can only encode 256 characters (albeit > carefully chosen), while UTF-8

Re: Struts and encoding ISO-8859-1

2009-04-26 Thread Jeroen De Ridder
lot of information is missing (at least in my web-client...). But I think your answer helps me so I skip completing that missing information now. Thanks again! Regards, Niklas Date: Sun, 26 Apr 2009 21:52:23 +0200 From: voetsjo...@gmail.com To: user@stru

RE: Struts and encoding ISO-8859-1

2009-04-26 Thread Niklas Johansson
is missing (at least in my web-client...). But I think your answer helps me so I skip completing that missing information now. Thanks again! Regards, Niklas > Date: Sun, 26 Apr 2009 21:52:23 +0200 > From: voetsjo...@gmail.com > To: user@stru

Re: Struts and encoding ISO-8859-1

2009-04-26 Thread Jeroen De Ridder
What exactly is giving you trouble? Are your HTTP parameters not properly received? Does your DB data get garbled when you output it? I've recently had problems with ISO-8859-1 and Struts 2 as well, and there are some things you need to be aware of. It turns out that by default Tomcat uses ISO

Re: Struts and encoding

2004-08-11 Thread Masoud Kalali
hi friends, I add (request.setCharacterEncoding("UTF-8"); to my action before reading parameter from it , also i add two difinition on my jsp page <%request.setcharacterEncoding("UTF-8");%> and which both of them set content and encoding of my jsp pages to utf-8 but i istill could not use my pa

RE: Struts and encoding

2004-08-10 Thread Václavík Radek
Are you sending the form using POST method? Do you set request encoding in your action before reading the parameter value? - (request.setCharacterEncoding("UTF-8"); Do you have the content type of jsp set to UTF-8? - <%@ page contentType="text/html;charset=UTF-8" language="java" %> Radek > -O