If you're talking about the cheap 433MHz or 315MHz RF Modules then the answer is "No" or "it is up to you" depending on where you connect them to the 8051.there is not specific ENCODER .
My question is do I need to use ENCODER if I want to interface 8051 MCU with RF module? or not.