if not found.
Encoding.getFromCharset
gtksource.encoding.Encoding getFromCharset(string charset)Gets a #GtkSourceEncoding from a character set such as "UTF-8" or "ISO-8859-1".
Parameters
charset | a character set. |
Returns
the corresponding #GtkSourceEncoding, or null