I think it is on FreeMakerResult:
String encoding = template.getEncoding();
if (encoding != null) {
contentType = contentType + "; charset=" + encoding;
}
so is it a global setting and all the result types should use that charset?
musachy
Don Brown wrote:
I believe the global setting is struts.18n.encoding. I'm not sure
what you can from a tag perspective, though.
Don
Musachy Barroso wrote:
On the autocompleter example in showcase I'm using an action that
uses freemarker to return an array in json. The thing is that the
encoding is set to Cp1252, and IE doesn't like it, it is throwing an :
Error: System error: -1072896658.
If I use a jsp page to build the json array, it works fine. Has
anybody been working on something that could be related to this, I
think this was working before?, where can I configure the charset for
the response?
regards
musachy
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]