Subject: | HZ words are encoded as US-ASCII |
On Perl 5.10.0 or higher,
encode_mimewords(
"The next sentence is in GB.~{<:Ky2;S{#,NpJ)l6HK!#~}Bye.",
MaxLineLen => 42, Charset => "HZ-GB-2312");
returns
The next sentence is in
=?HZ-GB-2312?B?R0Iufn57PDpLeTI7U3sjLH5+fQ==?=
=?HZ-GB-2312?B?fn57TnBKKWw2SEshI35+fUJ5ZS4=?=
In this result, encoded-words including HZ sequence are escaped
as if they were US-ASCII sequences in HZ text, and then B-encoded.