A question about libxml

BlitzMax Forums/BlitzMax Programming/A question about libxml

Robb(Posted 2008) [#1]
I'm using the bah.libxml module to create configuration files for my game however I need to include UTF-8 characters (specifically Japanese/Chinese) in the file for things such as character names.

When currently saving the file with the TxmlDoc.SaveFormatFile(filename$,true) function, the Japanese characters are converted to codes rather than human readable text. The files can still be loaded properly into the program but I'd rather that they could still be manually edited outside of the game.

Is there a function to set the file encoding that I am missing somewhere?