Fixed UnicodeEncodeError.