g_file_info_get/set_attribute_string*(): Document the UTF-8ness.
authorMurray Cumming <murrayc@murrayc.com>
Fri, 11 Mar 2011 08:59:09 +0000 (09:59 +0100)
committerMurray Cumming <murrayc@murrayc.com>
Fri, 11 Mar 2011 08:59:09 +0000 (09:59 +0100)
commitc1a75ca783f602d3edf465c28918dac7ea57a1e7
tree81ee85441da01f5f8a2ea6fb5c95530e0b7b2a63
parent9505ad05eedefff2030bb20c587f168bb4dedeb7
g_file_info_get/set_attribute_string*(): Document the UTF-8ness.

* gio/gfileattribute.c: (_g_file_attribute_value_get_string,
_g_file_attribute_value_set_string): These use
G_FILE_ATTRIBUTE_TYPE_STRING, which is documented as UTF-8, so
document these private functions as using UTF-8.
* gio/gfileinfo.c: (g_file_info_get_attribute_string,
g_file_info_set_attribute_string, and stringv versions):
Document that the strings are UTF-8 because the implementation uses
those private functions, that use UTF-8.

This helps language bindings (such as glibmm) whose API
distinguishes between known and unknown encodings.
gio/gfileattribute.c
gio/gfileinfo.c