Set GIO channels to binary encoding.
authorLaurent Monin <geeqie@norz.org>
Thu, 24 Jul 2008 20:24:04 +0000 (20:24 +0000)
committerLaurent Monin <geeqie@norz.org>
Thu, 24 Jul 2008 20:24:04 +0000 (20:24 +0000)
commitc658a3d30ac0f2b77788f08d30e5088b2e93845e
tree0c94442135d1d360cf32af1041fe457b2ab32056
parent227a6784ab87c0ba1ddde38334b1897813f0612d
Set GIO channels to binary encoding.
This is needed since messages from commands may not be UTF8-encoded
and g_io_channel_read_chars() may incorrectly interpret some characters.
In practice it was truncating some ISO-8859-1 messages containing some
french characters. This fixes it.
src/editors.c