summaryrefslogtreecommitdiffstats
path: root/mbyte.c
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn_jp@hotmail.com>2002-11-12 08:35:34 +0000
committerYasuhiro Matsumoto <mattn_jp@hotmail.com>2002-11-12 08:35:34 +0000
commitd629ffce6a8c266775ff740f397582c9a21507a2 (patch)
tree7b59614cba5de5c174f2e2054bd6f59b624a0728 /mbyte.c
parent28df4fd48a82c97d8f6c6a1ad1228561994b545b (diff)
cp932 should be treated like shift_jis.
Diffstat (limited to 'mbyte.c')
-rw-r--r--mbyte.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbyte.c b/mbyte.c
index 57f6e8b2..3c14c6f6 100644
--- a/mbyte.c
+++ b/mbyte.c
@@ -63,7 +63,8 @@ void mutt_set_charset (char *charset)
if (!strcmp(buffer, "utf-8"))
Charset_is_utf8 = 1;
#ifndef HAVE_WC_FUNCS
- else if (!strcmp(buffer, "euc-jp") || !strcmp(buffer, "shift_jis"))
+ else if (!strcmp(buffer, "euc-jp") || !strcmp(buffer, "shift_jis")
+ || !strcmp(buffer, "cp932"))
{
charset_is_ja = 1;
charset_to_utf8 = iconv_open ("UTF-8", charset);