I'm trying to edit an xml file in labVIEW for use by a .NET assembly later on in the program, however, when labview saves the file it changes the encoding. This prevents the .NET assembly from being able to open the file, since it needs to be in UTF-16 or UCS-2.
Is there a way to change the encoding in labview? I can do it manually in notepad++ but obviously that wont't work when I'm actually trying to use the program. I've tried using the labview "write to xml file.vi" which allows you to specify an encoding, but it just erases most of the file. I'm sorry if I'm being a bit vague here.
I've included a link to a drive folder with 3 xml files, which should be almost the same (at least they are when view in notepad++, not so much in drive), however the one called "working" can be loaded into my .NET assembly and the one called "postLabviewEdit" cannot. Notice that both have the same encoding declaration (UTF-16). If I take the one that isn't working (postLabviewEdit) and open it in notepad++ and click encoding>Encode in UCS-2 Little Endian and save it it starts working again (I included this one as well).

