GDataInputStream: Add _utf8() variants of _read_line
authorColin Walters <walters@verbum.org>
Thu, 16 Jun 2011 18:00:36 +0000 (14:00 -0400)
committerColin Walters <walters@verbum.org>
Fri, 17 Jun 2011 00:03:02 +0000 (20:03 -0400)
commit28254a38a7f077d5fc03939ea7c03260aabe5188
treeef98cb0f7b91aa3329c3267a06c2dc98d1e54a9a
parentff2f46a7f42d5c0d0b8af0d4328f960605420790
GDataInputStream: Add _utf8() variants of _read_line

These will validate the resulting line, and throw a conversion error.
In practice these will likely be used by bindings, but it's good
for even C apps too that don't want to explode if that text file
they're reading into Pango actually has invalid UTF-8.

https://bugzilla.gnome.org/show_bug.cgi?id=652758
gio/gdatainputstream.c
gio/gdatainputstream.h
gio/gio.symbols
gio/tests/data-input-stream.c