Encoding is usually done in the firmware.
If it was done in hardware, you would still have to change the firmware to match the interface of the hardware.
You hoping to desolder a chip, stuff it with a new one and gain a different encoder? Yea, I'm not saying its impossible, but this is not...