mime-def.el (mime-charset-decode-string, mime-charset-encode-string): New functions.