Cannot change or remove formatting of pasted text

I have pasted in some text copied from a post in a message board app (in this case NextDoor - but not sure this is relevant as no other message on that board looks like this one), and wish to remove the formatting. But I cannot. Nor can I change the formatting - the font, italics, etc. The usual options (Shift+Option+Command+V into Pages for example) do not work. I have also tried pasting it into a Plain Text doc in TextEdit, but same result. I will paste some here so you can see what I am dealing with:


๐ˆ๐Ÿ ๐ฒ๐จ๐ฎ'๐ซ๐ž ๐ข๐ง๐ญ๐ž๐ซ๐ž๐ฌ๐ญ๐ž๐, ๐ก๐ž ๐ข๐ฌ ๐ฅ๐จ๐จ๐ค๐ข๐ง๐  ๐Ÿ๐จ๐ซ ๐ฌ๐จ๐ฆ๐ž๐จ๐ง๐ž ๐ญ๐จ ๐ญ๐š๐ค๐ž ๐ก๐ข๐ฌ ๐ฉ๐ฅ๐š๐œ๐ž.


Any help you can offer will be welcome, thanks


MacBook Pro 13โ€ณ, macOS 10.14

Posted on Jul 12, 2024 6:12 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 12, 2024 2:57 PM

etresoft wrote: The answer here is that "NextDoor" app is doing something extremely unusual. It appears to be using some kind of obscure Unicode alternate characters

This is actually a pretty common "trick" used by people to create bold and italic text in apps (like Apple Messages) or web forums which do not yet allow the normal kinds of styling you find in a word processor. I don't know if there is any easy way to convert to ascii aside from using OCR on an image of it.


9 replies
Question marked as Top-ranking reply

Jul 12, 2024 2:57 PM in response to etresoft

etresoft wrote: The answer here is that "NextDoor" app is doing something extremely unusual. It appears to be using some kind of obscure Unicode alternate characters

This is actually a pretty common "trick" used by people to create bold and italic text in apps (like Apple Messages) or web forums which do not yet allow the normal kinds of styling you find in a word processor. I don't know if there is any easy way to convert to ascii aside from using OCR on an image of it.


Jul 12, 2024 8:26 AM in response to thirdspacemusic

thirdspacemusic wrote:

I have pasted in some text copied from a post in a message board app (in this case NextDoor - but not sure this is relevant as no other message on that board looks like this one), and wish to remove the formatting. But I cannot. Nor can I change the formatting - the font, italics, etc. The usual options (Shift+Option+Command+V into Pages for example) do not work. I have also tried pasting it into a Plain Text doc in TextEdit, but same result. I will paste some here so you can see what I am dealing with:

๐ˆ๐Ÿ ๐ฒ๐จ๐ฎ'๐ซ๐ž ๐ข๐ง๐ญ๐ž๐ซ๐ž๐ฌ๐ญ๐ž๐, ๐ก๐ž ๐ข๐ฌ ๐ฅ๐จ๐จ๐ค๐ข๐ง๐  ๐Ÿ๐จ๐ซ ๐ฌ๐จ๐ฆ๐ž๐จ๐ง๐ž ๐ญ๐จ ๐ญ๐š๐ค๐ž ๐ก๐ข๐ฌ ๐ฉ๐ฅ๐š๐œ๐ž.

Any help you can offer will be welcome, thanks


if no insight or resolveโ€”


type in in manually...



You may have no control in this instanceโ€” I would not beat my head against the wall...

ref: Text Encoding


Jul 12, 2024 8:49 AM in response to thirdspacemusic

thirdspacemusic wrote:

I have pasted in some text copied from a post in a message board app (in this case NextDoor - but not sure this is relevant as no other message on that board looks like this one), and wish to remove the formatting. But I cannot. Nor can I change the formatting - the font, italics, etc. The usual options (Shift+Option+Command+V into Pages for example) do not work. I have also tried pasting it into a Plain Text doc in TextEdit, but same result. I will paste some here so you can see what I am dealing with:

๐ˆ๐Ÿ ๐ฒ๐จ๐ฎ'๐ซ๐ž ๐ข๐ง๐ญ๐ž๐ซ๐ž๐ฌ๐ญ๐ž๐, ๐ก๐ž ๐ข๐ฌ ๐ฅ๐จ๐จ๐ค๐ข๐ง๐  ๐Ÿ๐จ๐ซ ๐ฌ๐จ๐ฆ๐ž๐จ๐ง๐ž ๐ญ๐จ ๐ญ๐š๐ค๐ž ๐ก๐ข๐ฌ ๐ฉ๐ฅ๐š๐œ๐ž.

Any help you can offer will be welcome, thanks

When you perform a copy operation, it copies multiple versions of your content, from the most rich in styles down to the plainest version. Then, when you paste, it will paste the richest version that it can find. So if you are trying to strip the formatting, the system is usually going to be working against you. This can be quite challenging.


You were on the right track trying plain text in TextEdit. Sadly, TextEdit just isn't up the job. Even if you use the plain text option, TextEdit appears to totally ignore that if you paste in rich text like this. Nice.


A better text-only editor is BBEdit. That being said, BBEdit, while better, also fails with the text you quoted. So I tried my own app that I wrote years ago, and that, too fails.


The answer here is that "NextDoor" app is doing something extremely unusual. It appears to be using some kind of obscure Unicode alternate characters that look like ASCII text, but are actually closer to complex emojis. I've never seen anything like that. Of course, Unicode has many thousands of characters. But to think that someone went out of their way to prevent extracting the content is really creepy.


For example, here's what your text looks like in a low-level, binary hex editor:


As you can see, there's no text there. This is what a text file should look like:





Jul 12, 2024 9:00 AM in response to etresoft

If you use the "Show Emoji & Symbols" option (originally "Character Viewer", now in System Settings > Text Input > Input Sources (your keyboard) > Edit > Show input menu in menubar), you can see that they are using the set of "Math Symbols" Unicode characters. These all start with the "F09D" sequence, such as "F09D90A2". Since they are all encoded in UTF-8, sometimes they can be more characters, sometimes less, but they all seem to start with "F09D".

Jul 12, 2024 3:38 PM in response to Tom Gewecke

Tom Gewecke wrote:

I don't know if there is any easy way to convert to ascii aside from using OCR on an image of it.

Those characters are sequential. It would be trivially easy to just subtract the code point for the letter 'A' or 'a' from each character. But that would require some coding. It's pretty low level so scripting it would be relatively difficult.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Cannot change or remove formatting of pasted text

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.