[Migrated content. Thread originally posted on 10 October 2009]
I've been experimenting with creating XML files using the AcuXML interface. I created a simple FD with 3 fields, set the Filename_Host XML and ran the program. The created file looks fine.Next, I tried to read the file just created using the same FD. The read of the files aborts with an error 9D05,18, indicating an invalid encoding.
Looking at the generated XML file, the first line is:
If I manually edit the XML file and change "ASCII" to "US-ASCII", "UTF-8" or "ISO-8859-1", I can read the file correctly.
I have tried using the AXML_ENCODING to change this, but it seems to have no effect. I have set it in the runtime configuration, set it in the program with Set Environment and none of these succeeded in getting the encoding to change. It always remains ASCII.
I'm not sure if AXML_ENCODING is being overridden somewhere or if this is a bug. Other AXML configuration entries work as documented.
Has anyone else had an issue with this?



