In the following example, I can't manage to make accsupp store the unicode alternative text. The resulting PDF looks as expected but the copyable text is not the correct one. I tried this with ...
pasting small circled (\textcircled) letters leads to incorrect (reversed) Unicode codepoint sequence for combining circle
When I try to circle a small letter, compile (using glyphtounicode.tex), and then paste the resulting text, the combining circle (U+20DD) appears before the letter (here: "b") even though it, being a ...
How do I paste codepoints outside of the basic multilingual plane with accsupp or \pdfglyphtounicode?
As described in the answers to this question, the accsupp package can be used to have symbols paste as arbitrary Unicode codepoints. For example you might want to write something like the following, ...