/* Returns: A string containing the encoding, this string is owned by GLib and must not be freed.  */
const gchar* g_io_channel_get_encoding(GIOChannel *channel)
/* Returns: A string containing the encoding, this string is owned by GLib and must not be freed.  */
const gchar* g_io_channel_get_encoding(GIOChannel *channel)
{
  g_return_val_if_fail (channel != NULL, NULL);
  return channel->encoding;
}