File.getEncoding
gtksource.encoding.Encoding getEncoding()The encoding is initially null. After a successful file loading or saving operation, the encoding is non-null.
Returns
the character encoding.
gtksource.encoding.Encoding getEncoding()The encoding is initially null. After a successful file loading or saving operation, the encoding is non-null.