Encoded Payloads Don't Bypass Anti-virus

The purpose of an encoder is to handle bad characters when you write exploits. Encoders are not meant for anti-virus evasion. Sometimes anti-virus evasion is a byproduct of encoding, it is not guaranteed. Encoding will not always avoid detection.