完善缓冲区功能，统一中文编码为utf-8