---
 lib/PublicInbox/Mbox.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/PublicInbox/Mbox.pm b/lib/PublicInbox/Mbox.pm
index dede4825..1e30e4ea 100644
--- a/lib/PublicInbox/Mbox.pm
+++ b/lib/PublicInbox/Mbox.pm
@@ -58,10 +58,10 @@ sub res_hdr ($$) {
        my @hdr = ('Content-Type');
        if ($ctx->{ibx}->{obfuscate}) {
                # obfuscation is stupid, but maybe scrapers are, too...
-               push @hdr, 'application/mbox';
+               push @hdr, 'application/mbox; charset=UTF-8';
                $fn .= '.mbox';
        } else {
-               push @hdr, 'text/plain';
+               push @hdr, 'text/plain; charset=UTF-8';
                $fn .= '.txt';
        }
        push @hdr, 'Content-Disposition', "inline; filename=$fn";
-- 
2.33.1


Reply via email to