Let me know if you get this sorted, because I’m interested – as far as I know, I didn’t think there is a way to guarantee this. Can you tell me what you’ve been using in the textReplace function? What values are you using?
The big killer here, as far as I know, is that most font sets i’ve seen don’t include curly quotation marks as standard, because most word processors such as Word, Indesign, PagePlus etc will use an algorithm to automatically change the look of the standard double quote included in the font set, and adapt the design to look like a curly quote. These page processors also will replace missing glyphs from different font sets if required too, making the whole process very smooth.
I would say that it would be difficult to try and imitate all this just using expressions within AFX. If you’re using a certain font set, you could create the curly quotes in that font if they’re missing. You’ll need to create open and closed quotation glyphs and then you could use textReplace() to change standard quotes out when required.
If they’re included in the font set, you could use Character Map in word to check they’re using the right key codes.
I know you can get curly quote marks in ASCII and Unicode, but AFX doesn’t default to either of these, and I don’t know if they have keycodes in a standard character set. If not then you might be fighting a losing battle trying to do it natively, and you’ll find it easier to use a workaround like updating the font as above.
Not sure what else to say, but feel free to add more info about what you’ve tried and we can keep thinking…