🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9562

Re: write/writeln fails for some strings

#9562
From: thechrisproject
Date: Thu, 17 Aug 2006 17:53
3 lines
1207 bytes
Setting the encoding to BINARY works fine when I use a test script, but not in the situation I'm actually using this. So I suppose I'll explain the bigger scope here:

I'm scripting for InDesign Server. I have one script that reads an .indd file, exports it as .inx, and then sends the XML back across the wire as a big string. Another program stores this XML. I have a second script, the one I'm working on here, that will take this big string of XML, write it to a new .inx file, and then open it in InDesign/InDesign Server. Somewhere along the line, the encoding is getting messed up.
Technical Details
Message-ID: <3bc14b95.5@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing
References: <3bc14b95.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,79c571a773294c0e
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: thechrisproject@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: write/writeln fails for some strings
Message-ID: <3bc14b95.5@webcrossing.la2eafNXanI>
Date: Thu, 17 Aug 2006 10:53:14 -0700
References: <3bc14b95.-1@webcrossing.la2eafNXanI>
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing