Hi
I have a BigText var. "SoapRequestXml" - that, when I write to file have the wrong encoding.
Then I have tried this code :
Works perfect.
BUT, I must have the BigText loaded into a XmlDoc ( no file ), with the right encoding.
Is it possible to change the encoding af the bigtext, or how..
Thanks .
/Kenneth
I have a BigText var. "SoapRequestXml" - that, when I write to file have the wrong encoding.
Then I have tried this code :
Discfile.CREATE('C:\temp\SoapXml1.xml'); Discfile.CREATEOUTSTREAM(DiscOutStream); StreamWriter := StreamWriter.StreamWriter(DiscOutStream, Encoding.Unicode); StreamWriter.Write(SOAPRequestXml); StreamWriter.Flush(); StreamWriter.Close();
Works perfect.
BUT, I must have the BigText loaded into a XmlDoc ( no file ), with the right encoding.
Is it possible to change the encoding af the bigtext, or how..
Thanks .
/Kenneth