PoorMan: Default to UTF-8 character set.

Ideally we would default to no character set, but
libhttpd does not seem to support that.

Fixes #18424.
This commit is contained in:
Augustin Cavalier
2023-05-25 16:21:40 -04:00
parent c098332d7b
commit 958b83c3ed
+1 -1
View File
@@ -45,7 +45,7 @@ PoorManServer::PoorManServer(const char* webDir,
(unsigned short)80,//port
(char*)0,//cgi pattern
0,//cgi_limit
(char *)"iso-8859-1",//charset
(char*)"utf-8",//charset
(char *)"",//p3p
-1,//max_age
const_cast<char*>(webDir),//cwd