Re: Default Encoding not working in struts2-json plugin

2012-01-06 Thread heamaya
Subject: Re: Default Encoding not working in struts2-json plugin Found it I think it was the Apache Server that was converting the JSON documents to UTF-8. Regards, Néstor Boscán On Fri, Jan 6, 2012 at 8:33 AM, Hernán wrote: > Nestor: first of all, verify that your database has the correct e

Re: Default Encoding not working in struts2-json plugin

2012-01-06 Thread Néstor Boscán
Found it I think it was the Apache Server that was converting the JSON documents to UTF-8. Regards, Néstor Boscán On Fri, Jan 6, 2012 at 8:33 AM, Hernán wrote: > Nestor: first of all, verify that your database has the correct encoding, > it should be ISO-8859-1, then what I can tell you is tha

Re: Default Encoding not working in struts2-json plugin

2012-01-06 Thread Hernán
Nestor: first of all, verify that your database has the correct encoding, it should be ISO-8859-1, then what I can tell you is that is better that data travels in UTF-8 format, because that's the way it was meant to be... So what's next? If you're working with JSP add this to the beginning of each

Default Encoding not working in struts2-json plugin

2012-01-05 Thread Néstor Boscán
Hi I'm using Struts 2 2.1.8.1 with the Struts 2 JSON plugin. I'm using accented characters and event if I configure the defaultEncoding to ISO-8859-1 the resulting JSON document is sent using UTF-8. In IE it gives a data error because the page encoding ISO-8859-1 is not the same as the JSON docume