I have been wondering why when I set the encoding to UTF-8 and rendering the XML it replace the extended characters by escape characters (or character reference) like ’ instead of '?
I'm using the Render method
render(contentType:"text/xml", encoding:"UTF-8") {...}
with a proper header
render(contentType:"text/xml", encoding:"UTF-8", text:"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n")
Any idea if there is a way to write it properly?
Thanks.