Charset.canonName

Attempts to find a canonical charset name for charset.

Note: Will normally return the same value as gmime.charset.Charset.iconvName unless the system iconv does not use the canonical ISO charset names (such as using ISO8859-1 rather than the canonical form ISO-8859-1).

struct Charset
static
string
canonName
(
string charset
)

Parameters

charset string

charset name

Return Value

Type: string

a canonical charset name for charset.