diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-02-08 06:01:26 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-02-08 06:01:26 +0000 |
commit | 43cad459f087fc01787eff1d7e998ce7d8eea474 (patch) | |
tree | 9332691ab5fdcd4cac63cc553956aa616fe4ea16 /libsylph | |
parent | 224290463c8e1dca64c82272d5a382930c483145 (diff) |
supported 'x-sjis' encoding.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@988 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/codeconv.c | 2 |
1 files changed, 2 insertions, 0 deletions
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)) |