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.

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]



------- Additional Comments From [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to