aboutsummaryrefslogtreecommitdiff
path: root/src/compose.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compose.c')
-rw-r--r--src/compose.c2
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);