Index: namazu/src/message.h =================================================================== RCS file: /storage/cvsroot/namazu/src/message.h,v retrieving revision 1.9 diff -u -r1.9 message.h --- namazu/src/message.h 2000/11/17 08:08:55 1.9 +++ namazu/src/message.h 2001/09/03 23:53:10 @@ -9,4 +9,5 @@ #define CRLF "\r\n" #endif +#define CHARSET ; charset=EUC-JP #endif /* _MESSAGE_H */ Index: namazu/src/output.c =================================================================== RCS file: /storage/cvsroot/namazu/src/output.c,v retrieving revision 1.80.4.3 diff -u -r1.80.4.3 output.c --- namazu/src/output.c 2001/09/02 07:13:38 1.80.4.3 +++ namazu/src/output.c 2001/09/03 23:53:11 @@ -78,7 +78,7 @@ */ static char emphasis_start_tag[BUFSIZE] = ""; static char emphasis_end_tag[BUFSIZE] = ""; -char contenttype[BUFSIZE] = "text/html"; +char contenttype[BUFSIZE] = "text/html CHARSET"; /* * @@ -952,7 +952,7 @@ fflush(stderr); if (is_cgimode()) { - printf("%s %s" CRLF CRLF, MSG_MIME_HEADER, "text/html"); + printf("%s %s %s" CRLF CRLF, MSG_MIME_HEADER, "text/html","CHARSET"); printf(_("

Error

\n

")); va_start(args, fmt); vprintf(fmt, args);