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 <meta .../> which both of them set content and encoding of my jsp pages to utf-8 but i istill could not use my parameter , thier encoding seems to be " ISO Latin-1 " . while i type unicode characters in my text are at jsp page.
I use Websphere as APPS , is it a problem of Websphere?
or i should make some changes?






Václavík Radek wrote:

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



-----Original Message-----
From: Masoud Kalali [mailto:[EMAIL PROTECTED]
Sent: Monday, August 09, 2004 7:59 PM
To: Struts Users Mailing List
Subject: Struts and encoding


Hi friends
I have a problem with Struts / Jsp
when i send a paramete from a jsp to my action (by using formBean)
It seems that character encoding of my parameter changes , is it true?
my prameter is UTF-8 , but in action it seems that its encoding changed to iso Latin-1



is there any solution for this?


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]









--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to