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
On Sun, Jan 3, 2010 at 15:11, River Tarnell river.tarnell@wikimedia.de wrote:
AddType text/plain;charset=UTF-8 txt DefaultType text/plain;charset=UTF-8
Don’t forget about text/html.
Could you enforce these directives globally for all users?
— Kalan
toolserver-l@lists.wikimedia.org