Delete unicode character 0xFEFF

New Here ,
Nov 24, 2021 Nov 24, 2021

Copy link to clipboard

Copied

Hello

Do you know how to delete this character 0xFEFF (ZERO WIDTH NO-BREAK SPACE) between two letters. When I copy-past it in find-change dialog box, it appears like an index tag (~I in GREP). But when I search it, only index tags are find.

 

Capture d’écran 2021-11-24 à 11.47.10.png 

Thanks

Laurent

TOPICS
How to

Views

120

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 24, 2021 Nov 24, 2021

Copy link to clipboard

Copied

If you don't need these characters in your text you can delet them with find-change.

Find: <feff>

change: leave empty

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 24, 2021 Nov 24, 2021

Copy link to clipboard

Copied

FWIW:

<FEFF>

That's not a GREP Find/Change pattern, it's a TEXT Find Change expression.

 

Laurent,

also note that this special character is used for several applications.

So be careful what instants you want to remove.

 

Regards,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 24, 2021 Nov 24, 2021

Copy link to clipboard

Copied

Thanks.

But I wan't te delete only space, not index tag.

I think it is impossible.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 24, 2021 Nov 24, 2021

Copy link to clipboard

Copied

FEFF is a special code, just in case you did not know.

Because it has no effect, it is used for a special meaning. It is included at the start of many, perhaps most Unicode files. Apps can see that a file starts with hex FFFE (UCS2-BE) or FEFF (UCS2-LE) or  EFBBBF (UTF-8) - all of which are U+FEFF - and know it is Unicode instead of plain text. You may often find it in your text, and it's probably best to ignore it.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 24, 2021 Nov 24, 2021

Copy link to clipboard

Copied

"But I wan't te delete only space, not index tag"

FEFF is 0 width space

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 24, 2021 Nov 24, 2021

Copy link to clipboard

Copied

Hi Laurent,

your screenshot is clearly showing an FEFF special character between the R and the A.

 

You could try to shield all index markers from your search if you first apply a character formatting to all index tags that is unique to your text. Perhaps a character width of 50%. Then in a second search  you are looking for a character with pattern <FEFF> plus a character width of 100%.

 

TEXT Find pattern for index markers:

^I

 

Regards,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 24, 2021 Nov 24, 2021

Copy link to clipboard

Copied

LATEST

Great idea. You are resolved the problem. 

A tip to keep in mind.

Best

Laurent

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 24, 2021 Nov 24, 2021

Copy link to clipboard

Copied

But also note that <FEFF> special characters are also used for other purposes.

InDesign Note objects for example. Or hyperlink anchor markers:

 

FEFF-Text-SearchReplace-WithNothing.png

Regards,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 24, 2021 Nov 24, 2021

Copy link to clipboard

Copied

Thanks for this presentation of the character.

Best

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines