take care of unicode.