This fix appears to have broken pretty-printing in the XML config file, which is a big bummer for people trying to edit parts of the file that have been generated programatically. I'm checking in a new possible fix with pretty printing but am not sure how to test to see if it doesn't mess up this bug fix. Gato – could you test?
Fix encoding problem when saving the wildfire.xml file
Related thread:
http://www.jivesoftware.org/community/thread.jspa?messageID=110419𚽓