I have seen some spam emails that have bold in the From: header and Unicode characters in the Subject: header. Here’s how it appears in Apple Mail:

How do they do that? When I copy the raw text, it appears as (this post mangles it):

I’ve pasted those lines into BBEdit and told it to zap gremlins (with both Replace with code and Replace with HTML entity), but neither the original form nor either result of the zap will reproduce the bold or Unicode characters when pasted into a subject line.
Here’s the output of the two zap operations:
Subject: a\0x9D+/-a\0x9D+/-a\0x9D+/-\0xF0\0x9F\0x94\0x94Safety. One of many benefits of a walk-in tub
From: \0xF0\0x9D\0x90\0x96\0xF0\0x9D\0x90\0x9A\0xF0\0x9D\0x90Yen\0xF0\0x9D\0x90\0xA4-\0xF0\0x9D\0x90c\0xF0\0x9D\0x90S\0xF0\0x9D\0x90\0x81\0xF0\0x9D\0x90\0x9A\0xF0\0x9D\0x90\0xAD\0xF0\0x9D\0x90!\0xF0\0x9D\0x90\0xAD\0xF0\0x9D\0x90(R)\0xF0\0x9D\0x90\0x9B\0xF0\0x9D\0x90\0x92\0xF0\0x9D\0x90!\0xF0\0x9D\0x90 \0xF0\0x9D\0x90(c) <qlslw1mx6d@ka3ncdyae2.tdur.dderi.tdurecom.uk.com>
Subject: ❱❱❱🔔Safety. One of many benefits of a walk-in tub
From: 𝐖𝐚𝐥𝐤-𝐢𝐧𝐁𝐚𝐭𝐡𝐭𝐮𝐛𝐒𝐡𝐨𝐩 <qlslw1mx6d@ka3ncdyae2.tdur.dderi.tdurecom.uk.com>
I’m downright curious as to how they do that. What’s the trick here?
[BTW, replying to the message reproduces the bold in the To: field…no, I didn’t actually send it! Editing the address does away with the boldface, so it’s encoded somehow.]


