httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [PATCH] mod_autoindex & character set
Date Thu, 01 Feb 2007 17:13:38 GMT
Dr. Peter Poeml wrote:
> On Thu, Feb 01, 2007 at 10:59:46 +0000, Joe Orton wrote:
>> On Wed, Jan 31, 2007 at 09:45:12PM +0100, Dr. Peter Poeml wrote:
>>> Users have a problem with directory listings generated by mod_autoindex:
>>> It is not possible to control the character setting which which the
>>> response is marked.
>> AddDefaultCharset does allow this already as you mention in the bug.  
>> Can't users who insist on using filenames using one encoding and file 
>> content using another simply use:
>>
>> AddDefaultCharset UTF-8
>> AddCharset ISO-8859-1 .html
>>
>> or similar?
> 
> I don't think so, because it means 
>  1) that all .html files would need to be ISO-8859-1
>  2) you cannot have files with charset=somethingelse anymore
>  3) all non-html files would need to be UTF-8 then, unless you add
>     AddCharset directives for all of them...

And you can't match by name.  I'm reviewing the patch, but I'll already
offer a +1 on the concept.

Mime
View raw message