get_from_charset
Description:
[ Version ( since = "3.14" ) ]
public static unowned SourceEncoding? get_from_charset (string charset)
public static unowned SourceEncoding? get_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. |