Chaged the way to creat xml from Format Strings to using Stax XMLOutputFactory
Fixed a coding problem with the server.

Weixin server sends XML with the coding of UTF-8, Changed everything to
coding UTF-8 so the server supports chinese.