Character Encoding and Decoding (pydicom.charset)

Character encoding and decoding functions.

convert_encodings(encodings)

Convert DICOM encodings into corresponding Python encodings.

decode_element(elem, dicom_character_set)

Apply the DICOM character encoding to a data element

decode_bytes(value, encodings, delimiters)

Decode an encoded byte value into a unicode string using encodings.

encode_string(value, encodings)

Encode a unicode string value into bytes using encodings.