>>11158196structurally they are the same really, you could say a multiplexer is a form of encoder
a multiplexer's output is one of the inputs which is selected by the selector inputs
an encoder's output, on the other hand, is based upon the selector inputs themselves