Encodes a 'phrase' header according to the rules in rfc2047.
options |
a FormatOptions or null |
phrase |
phrase to encode |
charset |
the charset to use or null to use the default |
the encoded 'phrase'. Useful for encoding internet addresses. |