ns_encodingfortype - Return the encoding implied by the given mime type string
Parses the given mime-type string to determine the character encoding implied by it. Will use the configured OutputCharset if no charset is explicitly specified in the given string.
% ns_encodingfortype "text/plain; charset=iso-8859-1" iso8859-1