fix UTF-8 string decoding error.