O_BINARY for win32 GIOChannel
- From: Ron Steinke <rsteinke w-link net>
- To: gtk-devel-list gnome org
- Subject: O_BINARY for win32 GIOChannel
- Date: Fri, 20 Jul 2001 13:55:00 -0700
There's one alternative for handling this we haven't
considered yet: always set O_BINARY, and then fake it
in g_io_channel_write_chars() before doing the conversion,
i.e. if channel->encoding != NULL add a \r before every \n
just before we pass it through iconv. This would be a little
messy to implement, but provides the most straightforward
API.
Ron Steinke
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]