XHTML and UTF-8
507059Oct 25 2006 — edited Nov 1 2006Hi there,
I need the pages produced by my Apex application to be treated as XHTML for the purposes of including SVG. Also, the character encoding needs to be UTF-8. At the moment, the HTTP headers produce the following:
Content-Type: text/html; charset=WINDOWS-1252
The Content-Type needs to be "application/xhtml+xml" and the charset needs to be "UTF-8". Also, the content attribute inside the Apex-produced meta tag is:
content="text/html; charset=windows-1252"
This needs to change, again, to "application/xhtml+xml; charset=UTF8".
So I have two questions really: firstly, how can I change the HTTP headers produced by Apex (and/or mod_plsql?) and secondly, how can I change the content attribute of the Apex-produced meta tag?
Thanks,
Robert