|
发表于 2006-10-16 00:24:44
|
显示全部楼层
if your system locale using utf-8, you may try this patch....- diff -ruN httpd-2.0.55/modules/generators/mod_autoindex.c httpd-2.0.552/modules/generators/mod_autoindex.c
- --- httpd-2.0.55/modules/generators/mod_autoindex.c 2006-07-22 02:21:13.000000000 +0800
- +++ httpd-2.0.552/modules/generators/mod_autoindex.c 2006-07-22 02:26:47.000000000 +0800
- @@ -152,7 +152,7 @@
- static void emit_preamble(request_rec *r, int xhtml, const char *title)
- {
- ap_rvputs(r, xhtml ? DOCTYPE_XHTML_1_0T : DOCTYPE_HTML_3_2,
- - "<html>\n <head>\n <title>Index of ", title,
- + "<html>\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n <title>Index of ", title,
- "</title>\n </head>\n <body>\n", NULL);
- }
复制代码 |
|