Re: Problem with g_io_channel_read_chars
- From: Sven Neumann <sven gimp org>
- To: "Andrew E. Makeev" <andrew solvo ru>
- Cc: gtkmm-main <gtkmm-main lists sourceforge net>, gtk-list gnome org
- Subject: Re: Problem with g_io_channel_read_chars
- Date: 07 Jun 2002 14:29:19 +0200
Hi,
"Andrew E. Makeev" <andrew solvo ru> writes:
> send 2nd (and any next, if I didn't remove watch callback with error):
> then I got error: "Invalid byte sequence in conversion input" that came
> in GError.
I suspect that you are not dealing with UTF-8 encoded data here and
didn't set the encoding of your GIOChannel appropriately. If you want
to handle binary data, use NULL as encoding.
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]