Extra characters when pasting from Apple Reminders or Notes

Obsidian doesn’t parse RTF. I think there is paragraph there and even tabs.

Interesting – here are the different data types on the clipboard when copying that “Test” string:

The first two formats are both RTF, public.utf8-plain-text and NSStringPboardType are both plain text with just the four bytes on the clipboard, one for each character in the text I pasted, and the remaining two are both UTF-16 format strings.

Those UTF-16 format strings do look weird, but I’m no expert on that format. Here’s the clipboard contents for UTF-16, in hex:

ff fe 54 00 65 00 73 00 74 00

Any ideas? Perhaps Obsidian is trying to parse the UTF-16 clipboard contents and getting it wrong somehow? If it was parsing the UTF-8 contents, it wouldn’t be inserting any extra characters as they only contain the text itself:

54 65 73 74