GetEncoding

IDicomEncoding.GetEncoding method

Returns the Encoding corresponding to charset (DICOM Specific Character Set).

public Encoding GetEncoding(string charset)
ParameterTypeDescription
charsetStringName of a DICOM character set (encoding).

Return Value

The Encoding according to the given charset or Default if the encoding is unknown.

Remarks

Allows some common misspellings such as redundant spaces, use of ISO-IR ### or ISO IR ### instead of ISO_IR ###.

See Also