Can Text Encoders be Deceived by Length Attack?