SWI-Prolog Did You Know We need you to to keep SWI-Prolog sustainable Search Documentation:
Predicate text_mimetype/1
 text_mimetype(+MimeType) is semidet[private]
True when documents of MimeType are text documents and thus may need a charset specification.