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 --- ChangeLog | 5 +++++ ChangeLog.ja | 5 +++++ libsylph/codeconv.c | 2 ++ 3 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index c59869db..6d0dfcee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-02-08 + + * libsylph/codeconv.c: conv_get_fallback_for_private_encoding(): + supported "x-sjis" encoding. + 2006-02-08 * libsylph/codeconv.c: diff --git a/ChangeLog.ja b/ChangeLog.ja index 461dfe88..a0867ed0 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,8 @@ +2006-02-08 + + * libsylph/codeconv.c: conv_get_fallback_for_private_encoding(): + "x-sjis" ¤ËÂбþ¡£ + 2006-02-08 * 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