Multiple .xml file need to add "encoding="UTF-8""

Hi,

i had use “Datatable to xml file” via BalaReva, but those xml files are generated without “encoding” , how can I add “encoding” at beginning of those xml files?

Have you tried this:

Step 1: Read XML File using Read Text File
Output is string.
Step 2: Finalstring = "encoding=“UTF-8"”+Environment.Newline + xmlstring
Step 3: Write Finalstring to Text File using Write Text File
Step 4: Rename Text File using copy or move file with .xml extension.