Charset.canonName

string canonName(string charset)

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).

Parameters

charsetcharset name

Returns

a canonical charset name for charset.