Article View: adobe.scripting.indesign
Article #16055Special character problem
From: darinplutchok
Date: Fri, 10 Oct 2003 19:21
Date: Fri, 10 Oct 2003 19:21
8 lines
1152 bytes
1152 bytes
When outputting text from InDesign using the script below, special characters come out as long numbers (i.e. 1397969521 for Apostrophe, 1396984945 for an open quote, 1398041963 for a trademark symbol). What are these numbers and how can I output characters instead. Set myCharacters = myDocument.PageItems.Item(1).Paragraphs.Item(1).TextWords.Item(1).Characters For Each myCharacter in myCharacters myForm.myTextBox.value = myForm.myTextBox.value & myCharacter.TextContents Next i.e. instead of outputting 'Darin's' the above script outputs 'Darin1397969521s'
Technical Details
Message-ID:
<2ccdd3e8.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,df057c394484cfec,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-10-10 12:37:49 PST From: darinplutchok@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Special character problem Message-ID: <2ccdd3e8.-1@webx.la2eafNXanI> Date: Fri, 10 Oct 2003 12:21:12 -0700 Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit