fix UTF-8 char issue