Discussion:
ANSI/ASCII/UTF-8 Encoding
(too old to reply)
jallred
2005-12-21 21:32:43 UTC
Permalink
Okay. This one has stumped me. I've been working for two days o
this

I have Orchestration A which I am sending an ANSI XML file.
Orchestration A calls rules and then passes it to Orchestration B.
For some reason, it is UTF-8 at this point. So need to explicitl
define it as ANSI before saving it to file

In accordance wit
MSD
an
Charle
Young, I’ve tried the following

1. In Orchestration B, I've tried usin
myMessage(XMLNORM.TargetCharset) = "ANSI" o
myMessage(XMLNORM.TargetCharset) = "ASCII" in a construct bloc
before sending the message to the send port. The send port bind
dynamically and uses the XMLTransmit pipeline

2. I've also tried (removing the previous attempt and) using
pipeline which just contains a XML assembler with the “Targe
charset” property set to ASCII (and various other charsets)

3. And many other combinations

All attempts produce a UTF-8 encoded file but I cannot have th
resulting file be unicode. I’m not using any special characters tha
would require Unicode. Thank you in advance for your help

Jef
jallred
2005-12-21 21:32:43 UTC
Permalink
Sorry. I answered my own question

It appears that the solutions above do not work when you use
PassThruTransmit pipeline. I had changed the pipeline to XMLTransmi
in the orchestration but not in the binding file. As a result,
thought I was using XMLTransmit but I was really usin
PassThruTransmit

Jef

Continue reading on narkive:
Loading...