IOChannel.getEncoding

Gets the encoding for the input/output of the channel. The internal encoding is always UTF-8. The encoding %NULL makes the channel safe for binary data.

class IOChannel
string
getEncoding
()

Return Value

Type: string

A string containing the encoding, this string is owned by GLib and must not be freed.

Meta