encodingGetFromCharset

Gets a #GtkSourceEncoding from a character set such as "UTF-8" or "ISO-8859-1".

Return

the corresponding #GtkSourceEncoding, or null if not found.

Parameters

charset

a character set.