Encoder, a printed circuit board