[Toolserver-l] Setting default character set on Zeus?

Marcin Cieslak saper at saper.info
Sat Jan 2 14:43:30 UTC 2010


Hello,

Sometimes I just put some plain text files in my public_html, mainly
some extracts from database (example [1]). Those files are served
with

Content-Type: text/plain

and I'd like to see them:

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

The manual[2] says about "AddType"/"ForceType" options for
the .htaccess file but there is nothing like Apache's "AddCharset"
directive[3]. 

Is there anyway I can add character set information using .htaccess
or possibly enabling this globally could be an option?

[1] http://toolserver.org/~saper/201001/newpages-all.txt
[2] http://support.zeus.com/zws/media/docs/ZWSUserGuide.pdf
[3] http://httpd.apache.org/docs/2.2/mod/mod_mime.html#addcharset

-- 
              << Marcin Cieslak // saper at saper.info >>





More information about the Toolserver-l mailing list