Fix the multibyte config is not properly configured

Need to set content type with charset, otherwise Jenkins register the garbled confix.xml.

I just wrote some simple unit tests, but should I create func test, too?