Rotary encoder

hello vvvv

anybody here got some experience with rotary encoders? I wired mine up to my arduino but cant read it properly, both pins are spiking when I turn the button.

is this normal?

see this thread.