getChar package:pandoc

Get the charset from a mime type, if one is present.