Encodes a 'text' header according to the rules in rfc2047.
| options |
a FormatOptions or null |
| text |
text to encode |
| charset |
the charset to use or null to use the default |
|
the encoded header. Useful for encoding headers like "Subject". |