How can I generate an email with a subject line with international characters in it?
The content encoding headers define how the body of the message is to be interpreted, but the subject is a header, and isn't subject (ha ha) to the declaration of the conten开发者_如何学Got type/encoding headers.
Is there a way to make international character set subject lines?
https://www.rfc-editor.org/rfc/rfc2047 defines encoding of non-ascii characters in headers.
"=?" charset "?" encoding "?" encoded-text "?="
Yes. RFC 2047 specifies how.
精彩评论