httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16811] - mod_autoindex always return webpages in UTF-8.
Date Mon, 08 Dec 2003 21:42:08 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16811>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16811

mod_autoindex always return webpages in UTF-8.

julian@mehnle.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |julian@mehnle.net



------- Additional Comments From julian@mehnle.net  2003-12-08 21:42 -------
Maybe there should be a new directive for mod_autoindex, like "FileNameCharset",
so the general charset of auto-generated indexes defaults to the charset given
by "AddDefaultCharset", and the file names are interpreted in the charset given
by "FileNameCharset".  "FileNameCharset" could be hard-coded as Unicode on Win32.

Example:

AddDefaultCharset ISO-8859-1
FileNameCharset UTF-8

This would make mod_autoindex send the page as ISO-8859-1, and recode the file
names from UTF-8 to ISO-8859-1, encoding any non-ISO-8859-1 characters as HTML
entities (&#xxxx;).

Thinking a bit more about this, "FileNameCharset" probably would make sense as a
general Apache core directive (not just a mod_autoindex one), so Apache would
know how to interpret file and directory names in certain (or all) directories.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message