diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-09-12 06:19:36 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-09-12 06:19:36 +0000 |
commit | 761f4d1834b3217b5f9926baf0b9824234b51ef9 (patch) | |
tree | bf006b24963b66441e93a0f1af982b5e1e88af43 /src/compose.c | |
parent | dd27e28c7d5de8e229a5a46fc35f3e24f050dcb1 (diff) |
made workaround for UTF-8 with BOM.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1150 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/compose.c')
-rw-r--r-- | src/compose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compose.c b/src/compose.c index 65c713cc..7c4d8210 100644 --- a/src/compose.c +++ b/src/compose.c @@ -1900,7 +1900,7 @@ static void compose_insert_file(Compose *compose, const gchar *file, gint error = 0; if (enc == C_UTF_8) { - str = g_strdup(buf); + str = conv_utf8todisp(buf, NULL); } else { str = conv_codeset_strdup_full(buf, cur_encoding, CS_INTERNAL, &error); |