Try setting struts.i18n.encoding in struts.properties or struts.xml

musachy

On 5/14/07, Julien Leonard <[EMAIL PROTECTED]> wrote:

I've just tried it. And there is the same encoding problem.
So you're write, it doesn't come from ajax.

I can't put
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
because there is no header.

Where can be the problem?

Julien

2007/5/14, Musachy Barroso <[EMAIL PROTECTED]>:
>
> Did you try hitting the action with a regular request, what is the
> encoding?
> For struts, an ajax request is not different from a regular request.
>
> musachy
>
> On 5/14/07, Julien Leonard <[EMAIL PROTECTED]> wrote:
> >
> > Hello all,
> >
> > I have a problem with characters encoding in ajax results.
> > In fact I have a jsp wich displays a Search UI with well encoding
> labels.
> >
> > When the search is submited a div is updated thank to the targets
> > attribute
> > of the submit tag.
> > The result displayed isn't in UTF-8 !
> >
> > All my .properties (for label) are encoded in UTF-8, my JSPs too. Adn
I
> > put
> > <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"
%>
> in
> > each JSPs.
> >
> > Is anyone had this problem?
> >
> >
> > Julien Leonard
> >
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>




--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Reply via email to