From 43cad459f087fc01787eff1d7e998ce7d8eea474 Mon Sep 17 00:00:00 2001 From: hiro Date: Wed, 8 Feb 2006 06:01:26 +0000 Subject: supported 'x-sjis' encoding. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@988 ee746299-78ed-0310-b773-934348b2243d --- libsylph/codeconv.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libsylph/codeconv.c') diff --git a/libsylph/codeconv.c b/libsylph/codeconv.c index 59b5bd71..6cf3de66 100644 --- a/libsylph/codeconv.c +++ b/libsylph/codeconv.c @@ -1276,6 +1276,8 @@ conv_get_fallback_for_private_encoding(const gchar *encoding) encoding[1] == '-') { if (!g_ascii_strcasecmp(encoding, CS_X_GBK)) return CS_GBK; + else if (!g_ascii_strcasecmp(encoding, CS_X_SJIS)) + return CS_SHIFT_JIS; } else if ((encoding[0] == 'K' || encoding[0] == 'k') && (encoding[1] == 'S' || encoding[1] == 's')) { if (!g_ascii_strcasecmp(encoding, CS_KS_C_5601_1987)) -- cgit v1.2.3