2 test_description="Testing encoding issues"
5 test_expect_success "Message with text of unknown charset" '
6 add_message "[content-type]=\"text/plain; charset=unknown-8bit\"" \
8 output=$($NOTMUCH show id:${gen_msg_id} 2>&1 | notmuch_show_sanitize) &&
9 pass_if_equal "$output" "
\fmessage{ id:msg-001@notmuch-test-suite depth:0 match:1 filename:/XXX/mail/msg-001
11 Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-05) (inbox unread)
12 Subject: Test message #1
13 From: Notmuch Test Suite <test_suite@notmuchmail.org>
14 To: Notmuch Test Suite <test_suite@notmuchmail.org>
15 Date: Tue, 05 Jan 2001 15:43:57 -0800
18 \fpart{ ID: 1, Content-type: text/plain