Re: O_BINARY for win32 GIOChannel
- From: "Andrew J. Lanoix" <alanoix umich edu>
- To: gtk-devel-list gnome org
- Cc: rsteinke w-link net
- Subject: Re: O_BINARY for win32 GIOChannel
- Date: Sat, 21 Jul 2001 12:57:57 -0400
All I can say is whatever the final decision is please make sure it is
properly documented so it does not generate email questions/mailing list
posts.
Andy Lanoix
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]