* Functions which implement the chat and paging facilities.
*/
-#include <ctype.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <stdio.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <sys/types.h>
-#include <sys/wait.h>
-#include <sys/socket.h>
-#include <sys/poll.h>
-#include <sys/time.h>
-#include <limits.h>
-#include <netinet/in.h>
-#include <netdb.h>
-#include <string.h>
-#include <pwd.h>
-#include <errno.h>
-#include <stdarg.h>
-#include <pthread.h>
-#include <signal.h>
#include "webcit.h"
-
/*
* display the form for paging (x-messaging) another user
*/
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"
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();\" >"