import mimetypes mimetypes.init() for key,value in mimetypes.types_map.items(): if isinstance(value, unicode): print repr(key), repr(value) break