It's a Panasonic EVQ-WKA

See http://www.panasonic.com/industrial/components/pdf/ATC0000CE6.pdf

The cap can be removed from the broken encoder with a needle and some levering - it's just stuck on with double-sided tape.

Hugo