File.encoding

Get encoding property.

class File
@property
encoding
()

Return Value

Type: gtksource.encoding.Encoding

The character encoding, initially null. After a successful file loading or saving operation, the encoding is non-null.