[S2] UTF8 with ajax results

2007-05-16 Thread Birol Toepper
Which Ajax Framework is in use ? If it´s an JSON-Respone-Object: see RFC 4627 for details. http://www.ietf.org/rfc/rfc4627.txt?number=4627 regards, toepper - Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies u

RE: [S2] UTF8 with ajax results

2007-05-14 Thread LAMY Olivier
Hi, If you use tiles take care of this https://issues.apache.org/struts/browse/WW-1724 . -- Olivier -Message d'origine- De : Julien Leonard [mailto:[EMAIL PROTECTED] Envoyé : lundi 14 mai 2007 16:44 À : Struts Users Mailing List Objet : Re: [S2] UTF8 with ajax results Sp

Re: [S2] UTF8 with ajax results

2007-05-14 Thread Julien Leonard
Specify struts.i18n.encoding in the strus.xml doesn't solve the problem. But I've tried a lot of thing, and I have finally solved the problem.: If I use a result standart, which forward on a JSP, it doesn't work. But if I use a tiles result with an empty template, it works. So, if I want UTF8 s

Re: [S2] UTF8 with ajax results

2007-05-14 Thread Musachy Barroso
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 because there is no header. Where can be the

Re: [S2] UTF8 with ajax results

2007-05-14 Thread Julien Leonard
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 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

Re: [S2] UTF8 with ajax results

2007-05-14 Thread Musachy Barroso
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

[S2] UTF8 with ajax results

2007-05-14 Thread Julien Leonard
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