🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9825

Re: [InDesign Server, SOAP, JS]Can the SOAP messages include multi-byte encoding characters?

#9825
From: Jonathan_W_Brown
Date: Wed, 19 Jul 2006 05:49
27 lines
3525 bytes
Nicole,
Does the following solve your problem?
=====================
In order to have the Windows console render all the characters directed by InDesign Server to the console as they were intended to be seen, apply the following procedure, also known as "setting the console to UTF-8," which is drawn from "InDesign CS2 Server ReadMe.pdf": 

�� Multi-Byte Setup for InDesign Server

�� Running InDesign Server on a Windows multi-byte system (Japanese, Chinese, Korean)
�� requires the following additional setup [1187322]:

�� 1) Execute the following command from the command shell to set the encoding to UTF-8:
����� chcp 65001

�� Note: This will be required each time a new command shell is started.

�� 2) Make sure you are using a font that has the right character set. By default the command
�� shell uses "Raster Font", you will have to change it to "Lucida Console" using the properties
�� dialog for the command shell. You have the options to set the font for all command shell or
�� the current one.
=====================
Jonathan

________________________________________
I'm trying to use SOAP to request InDesign Server to execute a script. The value of the argument passed to the script needs to include multi-byte encoding characters (Japanese, Chinese, Korean). After I get the argument value using app.scriptArgs.get in the script, I find that the value has been changed to #%^&$*. Can InDesign Server support multi-byte languages? Is there any idea how I can implement that? 

Thanks and regards, 
Nicole 
Technical Details
Message-ID: <38F8C23787B8E5498E374ADC7569A91BBDD31B@namail3.corp.adobe.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing
References: <3bc0cd13.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,daf010d8e4a6a29
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII
From: Jonathan_W_Brown@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: [InDesign Server, SOAP, JS]Can the SOAP
 messages include multi-byte encoding characters?
Message-ID: <38F8C23787B8E5498E374ADC7569A91BBDD31B@namail3.corp.adobe.com>
Date: Tue, 18 Jul 2006 22:49:49 -0700
References: <3bc0cd13.-1@webcrossing.la2eafNXanI>
Lines: 41
Received: from exprod6og54.obsmtp.com [64.18.1.189] by adobeforums.com; Tue, 18 Jul 2006 22:49:53 -0700
Received: from source ([192.150.11.134]) by exprod6ob54.postini.com ([64.18.5.12]) with SMTP; Tue, 18 Jul 2006 22:49:53 PDT
Received: from inner-relay-3.eur.adobe.com (inner-relay-3.adobe.com [192.150.20.198] (may be forged)) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id k6J5mABl001906 for <adobe.scripting.indesign@adobeforums.com>; Tue, 18 Jul 2006 22:48:11 -0700 (PDT)
Received: from fe2.corp.adobe.com (fe2.corp.adobe.com [10.8.192.72]) by inner-relay-3.eur.adobe.com (8.12.10/8.12.9) with ESMTP id k6J5npQw011254 for <adobe.scripting.indesign@adobeforums.com>; Tue, 18 Jul 2006 22:49:51 -0700 (PDT)
Received: from namail3.corp.adobe.com ([10.8.192.66]) by fe2.corp.adobe.com with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 18 Jul 2006 22:49:50 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
Thread-Topic: [InDesign Server, SOAP, JS]Can the SOAP messages include multi-byte encoding characters?
Thread-Index: AcafAkKFJh9DL5/GScCiN2WjVjfTWAL9LW/A
X-OriginalArrivalTime: 19 Jul 2006 05:49:50.0397 (UTC) FILETIME=[265DE6D0:01C6AAF7]
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing