diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-08-01 12:38:58 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-08-01 12:38:58 +0000 |
commit | d788673eb92d68d796f69e70ab2dddeb01778585 (patch) | |
tree | acfe76c9937bc5fa1ce2fa60f9281608a96e82c6 /src/fe-common/core/fe-core-commands.c | |
parent | 13849ba4f26b9aded25acbcdbc2132ee83d9ce4e (diff) | |
download | irssi-d788673eb92d68d796f69e70ab2dddeb01778585.zip |
Set null encoding for file channels.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4866 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core/fe-core-commands.c')
-rw-r--r-- | src/fe-common/core/fe-core-commands.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/core/fe-core-commands.c b/src/fe-common/core/fe-core-commands.c index 765e70c6..8120479c 100644 --- a/src/fe-common/core/fe-core-commands.c +++ b/src/fe-common/core/fe-core-commands.c @@ -137,6 +137,7 @@ static void cmd_cat(const char *data) return; } + g_io_channel_set_encoding(handle, NULL, NULL); g_io_channel_seek_position(handle, fpos, G_SEEK_SET, NULL); buf = g_string_sized_new(512); while (g_io_channel_read_line_string(handle, buf, &tpos, NULL) == G_IO_STATUS_NORMAL) { |