Correct a bug between utf-8 and ascii.