From 761f4d1834b3217b5f9926baf0b9824234b51ef9 Mon Sep 17 00:00:00 2001 From: hiro Date: Tue, 12 Sep 2006 06:19:36 +0000 Subject: made workaround for UTF-8 with BOM. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1150 ee746299-78ed-0310-b773-934348b2243d --- src/compose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compose.c') 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); -- cgit v1.2.3