On 2008.04.29, Emmanuelle R <[EMAIL PROTECTED]> wrote:
> I had to add 'ns_param .html "text/html; charset=utf-8"' in the ns/ 
> mimetypes section to get the charset correctly in the http header. I was 
> expecting the OutputCharset to be applied by default, as it is when adp 
> or tcl files are served, but apparently it doesn't and I don't understand 
> why. Did I miss anything?

There's a difference between what encoding to apply to the data vs. what
to report in the HTTP response.  The ns/mimetypes section controls the
HTTP response, while the ns/parameters settings control the encoding of
the data.

-- 
Dossy Shiobara              | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to