File.getEncoding

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

class File
getEncoding
()

Return Value

Type: gtksource.encoding.Encoding

the character encoding.