ParserOptions.setFallbackCharsets

void setFallbackCharsets(string[] charsets)

Sets the fallback charsets to try when decoding 8-bit headers.

Note

It is recommended that the list of charsets start with utf-8

and end with iso-8859-1.

Parameters

charsetsa null-terminated list of charsets or null for the default list