It will be noted that the protective layer 10 made of polymer, and in particular of PTFE, has no appreciable influence on the propagation of the magnetic field created by the polarized marks.Represented in FIG. 2 is a second embodiment of the angular encoder 1 in which the protective layer 10 extends radially with respect to the shaft 3 beyond the encoder element 4 so as to come into contact with