et_from_charset


Description:

[ CCode ( cname = "gtk_source_encoding_get_from_charset" ) ]
[ Version ( since = "3.14" ) ]
public static unowned SourceEncoding? et_from_charset (string charset)

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

Parameters:

charset

a character set.

Returns:

the corresponding SourceEncoding, or null if not found.