🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
3 messages
3 total messages Started by Malcolm Wooden Mon, 16 Mar 2009 15:37
UTF8 coding
#583
Author: Malcolm Wooden
Date: Mon, 16 Mar 2009 15:37
2 lines
906 bytes
I am pasing the text in a ID document and returning the UTF8 code. This works fine except for the quotes, where I get a figure one returned instead of the quote. It's the same for opening or closing, single or double, they all return the figure one. Does anyone know why ID is doing this?
thanks
Re: UTF8 coding
#584
Author: jongware
Date: Mon, 16 Mar 2009 16:14
3 lines
1072 bytes
It's not a UTF8 code, but an InDesign Special Character. The same goes (presumably) for en-dash, soft hyphen, thin space -- which may have a Unicode definition -- but also for Next Page Marker, Section Marker, Odd Page Break, and other specific ID codes. See the Enumeration SpecialCharacters for all (?) values.

I think you have to examine the Characters array of your text one by one and determine if it contains a string or a SpecialCharacters enumerator value.
Re: UTF8 coding
#700
Author: Malcolm Wooden
Date: Tue, 17 Mar 2009 09:34
3 lines
681 bytes
Thanks jomgware, you are spot on, there are a range of characters that return an enumerated value.

thanks
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads