Fix header encoding of long headers when using euc-jp and shift_jis.

When a header was long enough to need to be split across lines, the
input charset name was used instead of the output charset name in
the encoded words.  This make a difference only for the two charsets
above.
2 files changed