]> granicus.if.org Git - apache/commitdiff
Ok here it is: Win32 utf-8 native unicode filename support.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 25 Oct 2000 02:46:40 +0000 (02:46 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 25 Oct 2000 02:46:40 +0000 (02:46 +0000)
  There are just too many folks to credit... so this goes out from
  the entire ApacheCon hacking team :-)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86740 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_autoindex.c

index ff0c990795f907dfe867881ee1c1380724dd61ae..840d70e0474c01795592a61f1bad0f93f4286cc3 100644 (file)
@@ -1558,6 +1558,9 @@ static int index_directory(request_rec *r,
     }
 
     r->content_type = "text/html";
+#if APR_HAS_UNICODE_FS 
+    r->content_type = "text/html;charset=utf-8";
+#endif
 
     ap_send_http_header(r);