Hey folks,
I'm building a DOM (om?) tree under an DomDocument and then writing it to a file:
let doc = om.DomDocument.create("testsuite")
let dnRoot = doc.getDocumentElement()
### BUILD A TREE under dnRoot
# dump the document
call dnRoot.writeXml("test.xml")
However the emitted file has a default encoding that I want to be UTF-8:
<?xml version='1.0' encoding='ANSI_X3.4-1968'?>
How can I affect the encoding? I don't want to have to manually emit the document using a SAX writer, but I guess I will if I have to...
Current version Genero is 2.11 but 2.20 is very close for us, and I can wait for that if it can do it more easily.