Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15705

xml encoding

$
0
0
I have written a program that creates an xml using the following code
Code:

Dim writer As New XmlTextWriter(SaveFile, System.Text.Encoding.UTF8)
        writer.WriteStartDocument(True)
        writer.Formatting = Formatting.Indented
        writer.Indentation = 5
        writer.WriteStartElement("Table")

I need iso-8859-1 encoding however it is apparently not an option, with this method.

How can I create the encoding that I need?

I am using VB 2019

Thank You

Viewing all articles
Browse latest Browse all 15705

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>