Fix marshal UTF8 bug