Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Bigtext Encoding problem

$
0
0
Hi

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

Viewing all articles
Browse latest Browse all 10032

Trending Articles