]> code.citadel.org Git - citadel.git/blobdiff - webcit/paging.c
* HTML pages are now output as "Content-type: text/html; charset=utf-8"
[citadel.git] / webcit / paging.c
index f05ed31cb7f8f61688a10cb00646c9e719008af0..611b38d45bf8503baeafa89f177d272966b4f3de 100644 (file)
@@ -270,7 +270,7 @@ void chat_recv(void) {
 
        output_headers(0, 0, 0, 0, 0, 0, 0);
 
-       wprintf("Content-type: text/html\n");
+       wprintf("Content-type: text/html; charset=utf-8\n");
        wprintf("\n");
        wprintf("<html>\n"
                "<head>\n"
@@ -415,7 +415,7 @@ void chat_send(void) {
        char buf[SIZ];
 
        output_headers(0, 0, 0, 0, 0, 0, 0);
-       wprintf("Content-type: text/html\n");
+       wprintf("Content-type: text/html; charset=utf-8\n");
        wprintf("\n");
        wprintf("<HTML>"
                "<BODY onLoad=\"document.chatsendform.send_this.focus();\" >"