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);
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
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
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
//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
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
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
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
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
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
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
11 matches
Mail list logo