Re: Problem with g_io_channel_read_chars


"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]