Fix the utf-8 bug