fix a bug that responses with multi-byte characters are broken.