Fix utf-8 bug