So I’m trying to convert certain text encoded in legacy encoding to Unicode. For that I’ve made a script to search and replace the characters. The conversion is mostly fine except for certain replacements. I deal with Indic text.
Suppose I’m converting The legacy text
“@eþi” where
@ = ?, e = ?, þ = ?+U200C , i = ?
It should convert to ???? but instead shows something else. Any further ?? that I type gets immediately converted too. When I copy this text and paste anywhere else it appears okay. Even when I switch to a fresh inDesign document and type the same thing in Unicode it appears fine. Interestingly this happens on only 2 fonts, if I select other fonts the text shows up normal. Unfortunately these two fonts are my staple and author of one is retired and other is a free one.
View post on imgur.com
The image shows: Top- Normal text that appears when I type or copy in a fresh document, Middle- Jumbled up text when I run the script, Lower- the legacy text is selected
I’m using inDesign CS6 on Windows 7 machine.