]> Sergey Matveev's repositories - public-inbox.git/commit
msgiter: do not assume UTF-8 if Email::MIME->body_str succeeds
authorEric Wong <e@80x24.org>
Thu, 31 Oct 2019 00:33:04 +0000 (00:33 +0000)
committerEric Wong <e@80x24.org>
Thu, 31 Oct 2019 00:33:50 +0000 (00:33 +0000)
commit130af18f06ae9b91e07985ff56b4dd90cedbd744
tree8b26f39c874649ccc9d9746410f13c7222b5212b
parent7375e589c165cd0c5bae2d70ff8e279fb76216a2
msgiter: do not assume UTF-8 if Email::MIME->body_str succeeds

ISO-2202-JP and other non-UTF-8 messages need to be displayed
correctly.

Fixes: 7d82a8bc04ce ('handle "multipart/mixed" messages which are not multipart')
MANIFEST
lib/PublicInbox/MsgIter.pm
t/iso-2202-jp.mbox [new file with mode: 0644]
t/msg_iter.t