Re: How do delivere a directory listing (NTFS partition) in utf-8 than in iso8859-1

Giganews Newsgroups
Subject: Re: How do delivere a directory listing (NTFS partition) in utf-8 than in iso8859-1
Posted by:  Álvaro G. Vicario
Date: Fri, 30 Jul 2010

El 29/07/2010 15:40, Toralf Förster escribió/wrote:
> I defined a directory + alias of a NTFS partition within the config file
> /etc/apache2/vhosts.d/default_vhost.include.
>
> If I point my browser to that location then all german umlauts are displayed
> w/ the wrong character set - eg the string "Köln" is displayed as "Köln/ ".
> (BTW there aren't files are in that directory, only subdirectories)
>
> How can I tell apache2 to not deliver the header of the page with "Content-
> Type: text/html; charset=iso-8859-1" b/c adding  "AddDefaultCharset UTF-8"
> to the appropriate Directory directive in the config file seems not to work.

The manual page is located
http://httpd.apache.org/docs/2.2/en/mod/mod_autoindex.html

Scroll down to the IndexOptions directive. One of the options is Charset
(valid since Apache 2.0.61).

--
--http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web:http://borrame.com
-- Mi web de humor satinado:http://www.demogracia.com
--

Replies

In response to

How do delivere a directory listing (NTFS partition) in utf-8 than in iso8859-1 posted by Förster on Thu, 29 Jul 2010