encoding_get_from_charset


Description:


[ Version ( replacement = "Encoding.get_from_charset" ) ]
public unowned Encoding? encoding_get_from_charset (string charset)

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

Parameters:

charset

a character set.

Returns:

the corresponding Encoding, or null if not found.


Namespace: GtkSource
Package: gtksourceview-5