AnsweredAssumed Answered

Web Scripts: How to set the response encoding?

Question asked by ironman77 on Aug 15, 2007
Latest reply on Jan 1, 2008 by shlomi
Hi,

this

http://wiki.alfresco.com/wiki/Web_Scripts_Framework#HTTP_Response_Formats

wiki article describes how to set the mimetype for the response of a web script. I have build a simple web script example which uses a freemarker template to create xml.

The http response header states the Content-Type field as:
Content-Type: text/xml;charset=UTF-8

So where could the encoding be set?

Outcomes