pv.vasconcelos 0 Newbie Poster

Hi Guys, I have a script (vbs) that exports the contents of the database (SQL Server) generating an XML file, but he always brings with encoding UTF-16.
Is there any way to change to ISO-8859-1 through exports? Or maybe in the XSL file?
Here a piece of code that exports:

tempXMLFile = fso.GetSpecialFolder(2)& "\" & fso.GetTempName()
  objOptions.IdAsNames = True
  objOptions.FileName = tempXMLFile
    e = objArticle.GetRootNode.GenerateXML(objOptions)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.