diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-01-26 08:20:28 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-01-26 08:20:28 +0000 |
commit | 83c0ae8f0766ada0da644fc4321868be4e701273 (patch) | |
tree | 50c0de58e1b518c5165b8b0c7cfdd38592099046 /src/procmime.c | |
parent | 0a29ffb9650075946e30615a2e1cdcfa2a988015 (diff) |
modified Japanese code conversion.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@42 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/procmime.c')
-rw-r--r-- | src/procmime.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/procmime.c b/src/procmime.c index eb6225df..008bd10e 100644 --- a/src/procmime.c +++ b/src/procmime.c @@ -349,14 +349,7 @@ void procmime_scan_content_type(MimeInfo *mimeinfo, const gchar *content_type) gchar *delim, *p, *cnttype; gchar *buf; - if (conv_get_locale_charset() == C_EUC_JP && - strchr(content_type, '\033')) { - gint len; - len = strlen(content_type) * 2 + 1; - Xalloca(buf, len, return); - conv_jistoeuc(buf, len, content_type); - } else - Xstrdup_a(buf, content_type, return); + Xstrdup_a(buf, content_type, return); g_free(mimeinfo->content_type); g_free(mimeinfo->charset); @@ -423,14 +416,7 @@ void procmime_scan_content_disposition(MimeInfo *mimeinfo, gchar *delim, *p, *dispos; gchar *buf; - if (conv_get_locale_charset() == C_EUC_JP && - strchr(content_disposition, '\033')) { - gint len; - len = strlen(content_disposition) * 2 + 1; - Xalloca(buf, len, return); - conv_jistoeuc(buf, len, content_disposition); - } else - Xstrdup_a(buf, content_disposition, return); + Xstrdup_a(buf, content_disposition, return); if ((delim = strchr(buf, ';'))) *delim = '\0'; mimeinfo->content_disposition = dispos = g_strdup(g_strstrip(buf)); |