Altova Mailing List Archives

Code Page Grief trying to extract from database

From: stoggers@-----------.---------.---
Date: 11/16/2005 2:31:00 AM

I have problems with extracting XML from a Recordset. The resulting XML 
contains characters that are not recognised.

I have tried to include an ISO-8859-1 clause on the xsl:output but this 
seems to be ignored. Here is the sample code that is performing the transform:

call xslProc.transform
xml_file = CC_Folder + folders(i) + "\" + tables(i) + ".XML"
Set f = fso.OpenTextFile(xml_file, ForWriting, True)
f.write xslProc.output

I had read somwhere that if you store the XML in strings then it always 
writes UTF-16 - is this true? Is this causing the problem?

If it is, is there a means of cirumventing this in my code?




These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.