ParserOptions.getRfc2047ComplianceMode

gmime.types.RfcComplianceMode getRfc2047ComplianceMode()

Gets the compliance mode that should be used when parsing rfc2047 encoded words.

Note

Even in #GMIME_RFC_COMPLIANCE_STRICT mode, the rfc2047 parser is fairly liberal

in what it accepts. Setting it to #GMIME_RFC_COMPLIANCE_LOOSE just makes it try harder to deal with garbage input.

Returns

the compliance mode that is currently set.