Hi,

Charles Iliya Krempeaux <[EMAIL PROTECTED]> writes:

> I don't think that GIOChannel has anything to do with the encoding
> of a string in a file.
> 
> To GIOChannel, you are dealing with a file.  It really doesn't
> care what's in it.  It's just a bunch of bytes to it.

this is only true if you set the GIOChannel's encoding to NULL. Per
default, GIOChannel does indeed care about the bytes it is reading and
it assumes UTF-8 encoding. This assures that you always get full
characters when you read characters from the GIOChannel.


Salut, Sven
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to