I need to deal with C code inside Go. libxml and github.com/jbowtie/gokogiri/xml are used to generate XML files. However, the encoding doesn\'t appear in the final document,