Forum OpenACS Development: OutputCharset Being Ignored?

Posted by Carl Robert Blesius on
I am using RSS Suport (through the weblog) to create an RSS feed.

I have feed validators set up and get an error:

your feed appears to be encoded as “foo”, but your server is reporting “bar”

I check the config.tcl and everything looks okay (OutputCharset set to utf-8 should result in utf-8 being set in the HTML headers)

# setting to Unicode by default
# see
ns_param HackContentType 1
ns_param DefaultCharset utf-8
ns_param HttpOpenCharset utf-8
ns_param OutputCharset utf-8
ns_param URLCharset utf-8

So I check if this is the case:

crb:~ crb$ telnet 80
Connected to
Escape character is '^]'.
HEAD /blog/rss/rss/rss.xml HTTP/1.1

HTTP/1.0 200 OK
Set-Cookie: ad_session_id=blah; Path=/; Max-Age=1200; Expires=Fri, 20-Jan-2006 06:20:22 GMT
Last-Modified: Sun, 15 Jan 2006 13:39:47 GMT
MIME-Version: 1.0
Date: Fri, 20 Jan 2006 06:00:23 GMT
Server: AOLserver/4.0.10
Content-Type: text/xml
Content-Length: 7281
Connection: close

So what do I have to do to get the Content-Type line to read?

Content-Type: text/xml; charset=utf-8