Forum OpenACS Development: Re: Using noquote with ad_form and formtemplate

Collapse
Posted by Branimir Dolicki on
Tom,

You are right:

ns_set put [ns_conn outputheaders] Content-Type "text/html; charset=yourcharset"

Will do the trick. I confused this with the case where I wanted to set the charset on some HTML pages sitting in the filesystem and output witn ns_returnfile.