SourceEncoding.getFromCharset

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

class SourceEncoding
static
getFromCharset
(
string charset
)

Parameters

charset string

a character set.

Return Value

the corresponding gsv.SourceEncoding, or NULL if not found.

Meta

Since

3.14