X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/05b75f8d50b83e943af3be4071449304d82dbdcd..bdd2a99650780a1ef4a9e788eaabbc5e810cc39c:/cgi/cgimain.c?ds=sidebyside diff --git a/cgi/cgimain.c b/cgi/cgimain.c index 253f82e..e96bbab 100644 --- a/cgi/cgimain.c +++ b/cgi/cgimain.c @@ -33,7 +33,7 @@ int main(int argc, char **argv) { /* TODO we could make disorder/ACTION equivalent to disorder?action=ACTION */ if(getenv("PATH_INFO")) { /* TODO it might be nice to link back to the right place... */ - printf("Content-Type: text/html\n"); + printf("Content-Type: text/html; charset=UTF-8\n"); printf("Status: 404\n"); printf("\n"); printf("

Sorry, PATH_INFO not supported.

\n");