Forum Post: Re: Oe Webservice Output Xml Mangled

  • Thread starter Thread starter Garry Hall
  • Start date Start date
Status
Not open for further replies.
G

Garry Hall

Guest
The "implicit conversion" is the same implicit conversion if you use OUTPUT TO "foo.txt". If you don't tell the AVM what the target codepage is, it will use -cpstream. The COPY-LOB statement (and the LONGCHAR itself) has no knowledge that the data in the LONGCHAR is an XML document with an encoding declaration. The document contains the text 'encoding="UTF-8"', but that is just a string of text to the LONGCHAR. COPY-LOB is doing what you asked it to do: copy the LONGCHAR of a given codepage to a file. Since there is no CONVERT TARGET CODEPAGE on your COPY-LOB, it is implicitly converting to -cpstream.

Continue reading...
 
Status
Not open for further replies.
Back
Top