Skip to main content
Inspiring
July 27, 2022
Answered

Strange symbols when creating text variable

  • July 27, 2022
  • 2 replies
  • 1166 views

Hi

I have to collect some paragraphs in script, colect them ina a new document and export in RTF format.

Some of paragraphs contain a graphics, wchich of course is lost during the procces (and that is good for me). But in their places a symbol : appears. When I copy this to Find/Change GREP window it is shown as ~I.

The problem is, that Find/Change can not find this thing. I can remove it using script but I don't know what is that. How to name it?

 

This topic has been closed for replies.
Correct answer Laubender

@mateuszp13156491 said: "The problem is, that Find/Change can not find this thing."

 

Hm. My guess is that you see a FEFF special character. Check that by selecting the character and look up its Unicode code point with InDesign's Info panel. If it is the one you cannot find it with GREP Find, but you should be able to find and remove it with TEXT Find/Change. The find pattern would be:

<FEFF>

But be careful with removing it. Here a screenshot that describes what that special character stands for and what could happen for several use cases of that special character if you remove it:

 

In the screenshot above you see that index markers will be removed by replacing <FEFF> with nothing.

But there is also more to it like the next screenshot is showing:

So to sum this up:

When you remove <FEFF> special characters globally in your document all index markers are gone, all hyperlink anchor markers as well. Also remnants from a data merge or even remants from Shared Review or PDF Comments that are left overs after you did a change in a reviewing workflow ( not shown above ).

And it could play bad tricks with your text, if the text contains any note objects.

 

So I would remove them only one by one and not with the "Change All" button.

 

Regards,
Uwe Laubender
( Adobe Community Professional )

2 replies

LaubenderCommunity ExpertCorrect answer
Community Expert
July 27, 2022

@mateuszp13156491 said: "The problem is, that Find/Change can not find this thing."

 

Hm. My guess is that you see a FEFF special character. Check that by selecting the character and look up its Unicode code point with InDesign's Info panel. If it is the one you cannot find it with GREP Find, but you should be able to find and remove it with TEXT Find/Change. The find pattern would be:

<FEFF>

But be careful with removing it. Here a screenshot that describes what that special character stands for and what could happen for several use cases of that special character if you remove it:

 

In the screenshot above you see that index markers will be removed by replacing <FEFF> with nothing.

But there is also more to it like the next screenshot is showing:

So to sum this up:

When you remove <FEFF> special characters globally in your document all index markers are gone, all hyperlink anchor markers as well. Also remnants from a data merge or even remants from Shared Review or PDF Comments that are left overs after you did a change in a reviewing workflow ( not shown above ).

And it could play bad tricks with your text, if the text contains any note objects.

 

So I would remove them only one by one and not with the "Change All" button.

 

Regards,
Uwe Laubender
( Adobe Community Professional )

Inspiring
July 27, 2022

YES YES YES. It works! 

 

Thank You

Best Regards

Mateusz Poradecki

Joel Cherney
Community Expert
Community Expert
July 27, 2022

That's odd. Usually, when using GREP, ~I represents an index marker. I would have expected an anchored object marker (that's ~a, two rows up) for an inline or anchored graphic. The blue colon that appears in-text when you have the hidden symbols visible is probably a text anchor - just a blue colon is a text anchor,  blue colon with a big blue arrowhead beneath is an index marker.

Inspiring
July 27, 2022

Uwe Laubender was right. I tryed witch anchored graphics but after changing the text to a variable achored graphics didn't work.