Lucaberta
You are quite correct about the 25 ft resolution being required for Mode S but as the encoders cost the same as the old 100 ft resolution encoders they are usualy used mostly because they are much less trouble to wire.
The digital encoder requires 4 wires total, the older Grey code units need about ten wires.