Re: gnome-vfs and encodings
- From: Jan Kratochvil <rcpt-gnome-vfs-list AT gnome org jankratochvil net>
- To: Murray Cumming Comneon com
- Cc: gnome-vfs-list gnome org
- Subject: Re: gnome-vfs and encodings
- Date: Sun, 7 Dec 2003 00:43:16 +0100
Hi,
On Sun, 07 Dec 2003 00:34:43 +0100, Murray Cumming Comneon com wrote:
> I'm changing regexxer
> http://regexxer.sourceforge.net/
> to use gnome-vfs instead of GIOChannel to read data, so it can use non-local
> file systems.
...
> Is there any equivalent for gnome_vfs_read(), or does gnome-vfs expect all
> text data to be in UTF8 format?
AFAIK GnomeVFS interprets the data only as binary. GIOChannel may interpret it
as text or binary. You can use GIOChannel over GnomeVFS interface (trivia):
http://cvs.jankratochvil.net/viewcvs/captive/src/client/gnomevfs/giognomevfs.c?rev=HEAD
http://cvs.jankratochvil.net/viewcvs/captive/src/client/gnomevfs/giognomevfs.h?rev=HEAD
Regards,
Lace
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]