diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-09-22 21:02:15 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-09-22 21:02:15 +0000 |
commit | 604c11affe988bab23c87598c02248fff1d73f43 (patch) | |
tree | 6252cbbfd3cf703691a8ddbf1fdee5c1246b5faa /w3mhelperpanel.c | |
parent | * version.c.in: cvs version (diff) | |
download | w3m-604c11affe988bab23c87598c02248fff1d73f43.tar.gz w3m-604c11affe988bab23c87598c02248fff1d73f43.zip |
merge m17n patch
add libwc
Diffstat (limited to '')
-rw-r--r-- | w3mhelperpanel.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/w3mhelperpanel.c b/w3mhelperpanel.c index 3f9add6..cff441a 100644 --- a/w3mhelperpanel.c +++ b/w3mhelperpanel.c @@ -1,4 +1,4 @@ -/* $Id: w3mhelperpanel.c,v 1.11 2003/01/15 17:13:22 ukai Exp $ */ +/* $Id: w3mhelperpanel.c,v 1.12 2003/09/22 21:02:22 ukai Exp $ */ #include <errno.h> #include <stdlib.h> #include <stdio.h> @@ -81,7 +81,11 @@ printMailcapPanel(char *mailcap) } } } +#if LANG == JA + printf("Content-Type: text/html; charset=EUC-JP\n\n"); +#else printf("Content-Type: text/html\n\n"); +#endif printf("<html>\n<head>\n<title>%s</title>\n</head>\n<body>\n<h1>%s</h1>\n", MSG_TITLE, MSG_TITLE); printf("<form method=post action=\"file:///$LIB/" W3MHELPERPANEL_CMDNAME |