Thanks, Brian,
maybe finally I’ll have to replace it firts with a GREP change but I’m afraid this stuation will arise later again and again, maybe with other characters, or other fonts, so first I would try to defeat the bug altogether, without altering the original documents.
My job is to collect certain paragraphs from a book into an RTF table that will be later processed by experts and finally returned into the original document. This time the book is 620 pages long and there are some 5-10 relevant paragraphs on a single page so it certainly needs a script. And it is just one book (although it is definitely within the biggest ones) of the many.
First I tried to store the text content of the original paragraph into a string (myString=origParagraph.contents), then in another document I gave this content to an unformatted (plain Arial), yet empty paragraph in a table cell (myParagraph.contents=myString). This method didn’t work, since this mystical character disappeared somehow: the string still contained it, the cell-paragraph not.
Later I tried something else. I simply copied the original paragraph into the cell (orgigParagraph.duplicate(LocationOptions.AT_BEGINNING, myCell). This way I saw some character in the right place, although it didn’t look the same. Juppie, let’s go on, export the table from InDesign into an RTF file! Then in Word I checked the result. And the character disappeared again.
To Theunis:
I’m not sure but I think that if any character (with an unicode index, say 276F) isn’t implemented in a font then Indesign usually replaces it with some other character from the font, maybe the one named “notdef”, of course only if this character does exist. I have’n tested what happens when the applied font misses this special character as well. First I wrote that the character in question has no Unicode index: I checked it in a font editor, but in InDesign, on the Glyphs palette some index was assigned to it, anyway. I don’t think it is normal that any character is just left out. And it is probably (or at least should be) independent of the font used. Isn’t it?
Tamás
Ps: Yesterday two of my posts didn’t appear here at all after clicking on Submit. What could I do wrong? :D