DDMsgReader doesn't display certain encoded characters properly
Some characters in messages (such as the apostrophe used apparently by Apple Mail or other software on iPads) don't display properly in DDMsgReader (and show up as odd-looking characters). This may be related to MIME encoding? msglist.js seems to display them properly, so maybe that can be used as an example.
Some notes on dumping a message, which may help in debugging:
<DigitalMan> 'smbutil v /sbbs/data/mail' will dump all the headers
<DigitalMan> 'smbutil r /sbbs/data/mail' will read the message text
<DigitalMan> if you know the message number, you can skip all the other messages easily, or just pipe output to a file and edit to suit
<nelgin> I did, thank you. uploaded bademail.txt and badheader.txt and I'm using SyncTerm, of course :)
<nelgin> The sender was using MuffinTerm on an iphone fwiw.
<DigitalMan> the terminals (on the sending or receiving side) shouldn't really matter
<DigitalMan> the sender was using Apple Mail (2.3445.9.7) according to those headers
<nelgin> Ah right, he was using muffinterm to access the bbs but yeah, that was via gmail. My bad.
<DigitalMan> Can you try viewing that same message using 'smbutil -r r /sbbs/data/mail' ? Does it look the same or add a like of MIME noise to the output?
<DigitalMan> -r = display raw message body text (not MIME-decoded)
One of DM's recent commits:
<git_rswindell> https://gitlab.synchro.net/main/sbbs/-/commit/1ca7f708fe87ea825cb0e5af
<git_rswindell> Modified src/smblib/smbtxt.c
<git_rswindell> Fix decoding of tab-indented 'charset' of multi-part MIME text parts
<git_rswindell> Apple Mail apparently uses tabs to indent the charset of nested MIME parts:
Edited by Eric Oulashin