Bugfix/encoding

王权利请求将github/fork/SaitoWu/bugfix/encoding合并到master

Created by: SaitoWu

I've already applied this patch on our Gitlab server.

After patched, all of the 404 and 500 errors are solved.

If u still have encoding problem, please report to me.

合并请求报告