summaryrefslogtreecommitdiff
path: root/src/fe-common/core/fe-common-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/core/fe-common-core.c')
-rw-r--r--src/fe-common/core/fe-common-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/core/fe-common-core.c b/src/fe-common/core/fe-common-core.c
index f97aa7e4..88841f37 100644
--- a/src/fe-common/core/fe-common-core.c
+++ b/src/fe-common/core/fe-common-core.c
@@ -402,6 +402,7 @@ static void autorun_startup(void)
return;
}
+ g_io_channel_set_encoding(handle, NULL, NULL);
buf = g_string_sized_new(512);
while (g_io_channel_read_line_string(handle, buf, &tpos, NULL) == G_IO_STATUS_NORMAL) {
buf->str[tpos] = '\0';